summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--env/users/default.nix16
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 = { };