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.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}
'';
}