diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-01-10 20:13:48 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-01-10 21:28:35 -0600 |
| commit | 751daf36fc86e3cf8a365c767a7c388818c10088 (patch) | |
| tree | d05e0748ac5ced9e6a229bd636c126805aaf9fe1 | |
| parent | 907f1e97d35614f7051cd045b8b976cb83896b13 (diff) | |
env/users: implement virtual regexp rules
Diffstat (limited to '')
| -rw-r--r-- | env/users/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/env/users/default.nix b/env/users/default.nix index f3be85a..3602630 100644 --- a/env/users/default.nix +++ b/env/users/default.nix @@ -66,6 +66,22 @@ in default = { }; }; + rules = mkOption { + default = [ ]; + + type = listOf (submodule { + options = { + pattern = mkOption { + type = str; + }; + + targets = mkOption { + type = listOf str; + }; + }; + }); + }; + users = mkOption { type = attrsOf (submodule { }); default = { }; |
