about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/incron.nix
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2018-08-27 21:15:03 +0000
committerAaron Andersen <aaron@fosslib.net>2018-08-27 21:15:03 +0000
commit7840d00532f87ce0712522e0fbbdc335ce83fd3f (patch)
tree00253c86841033145a7f4e82a9cc31265761bfa2 /nixos/modules/services/monitoring/incron.nix
parente8d79aba4e1a955bec8573de766e99c26ec3b15b (diff)
clarified the descriptions of the allow and deny options
Diffstat (limited to 'nixos/modules/services/monitoring/incron.nix')
-rw-r--r--nixos/modules/services/monitoring/incron.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/incron.nix b/nixos/modules/services/monitoring/incron.nix
index 5eec4b82fa02e..4a9e1a9b7b8fa 100644
--- a/nixos/modules/services/monitoring/incron.nix
+++ b/nixos/modules/services/monitoring/incron.nix
@@ -22,7 +22,14 @@ in
       allow = mkOption {
         type = types.nullOr (types.listOf types.str);
         default = null;
-        description = "Users allowed to use incrontab.";
+        description = ''
+          Users allowed to use incrontab.
+
+          If empty then no user will be allowed to have their own incrontab.
+          If null then will defer to <option>deny</option>.
+          If both <option>allow</option> and <option>deny</option> are null
+          then all users will be allowed to have their own incrontab.
+        '';
       };
 
       deny = mkOption {