summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-09-08 21:58:29 +0530
committersinanmohd <sinan@sinanmohd.com>2023-09-09 10:57:37 +0530
commite72c86c26271ba88e8b5ea1db9baf1fdd2501945 (patch)
tree8fd51fe6840f5b9bdc56ca3ab4f44e708033c574
parentb3a714f295aa620c95a89688fad6d69835b2f100 (diff)
modules/userdata: set default value for groups
-rw-r--r--modules/userdata.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/userdata.nix b/modules/userdata.nix
index ffb5847..24088a9 100644
--- a/modules/userdata.nix
+++ b/modules/userdata.nix
@@ -12,6 +12,7 @@ in
};
groups = mkOption {
type = types.listOf types.str;
+ default = [];
description = mdDoc "Groups the owner should be in";
};
domain = mkOption {