summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/users.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/users.nix b/modules/users.nix
index eec1defa5..79a00e3a1 100644
--- a/modules/users.nix
+++ b/modules/users.nix
@@ -213,14 +213,9 @@ in
users.extraUsers = extraUsers;
users.mutableUsers = false;
- #security.sudo.configFile = sudoers config.users.extraUsers;
- security.sudo.configFile =
- with builtins; trace
+ security.sudo.extraConfig =
''
- OK
- ''
- sudoers;
- security.sudo.extraConfig = ''
Defaults mailto="tv@wu.retiolum"
- '';
+ ${sudoers}
+ '';
}