diff options
author | tv <tv@krebsco.de> | 2015-03-05 13:11:33 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-05-19 23:10:57 +0200 |
commit | 7fe0cff46a59726287501a34101756e89f67f249 (patch) | |
tree | a5570bf38be86be42a088cc9fee4ae699c55c7df /modules | |
parent | f52e3eb5b94b8cffcc2b57f4604aac2e9402be39 (diff) |
users: put sudoers in extraConfig
Diffstat (limited to 'modules')
-rw-r--r-- | modules/users.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/users.nix b/modules/users.nix index eec1def..79a00e3 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} + ''; } |