users: put sudoers in extraConfig

This commit is contained in:
tv 2015-03-05 13:11:33 +01:00
parent f93ca99fab
commit 3867e1866a

View File

@ -213,14 +213,9 @@ in
users.extraUsers = extraUsers; users.extraUsers = extraUsers;
users.mutableUsers = false; users.mutableUsers = false;
#security.sudo.configFile = sudoers config.users.extraUsers; security.sudo.extraConfig =
security.sudo.configFile =
with builtins; trace
'' ''
OK
''
sudoers;
security.sudo.extraConfig = ''
Defaults mailto="tv@wu.retiolum" Defaults mailto="tv@wu.retiolum"
''; ${sudoers}
'';
} }