users: put sudoers in extraConfig
This commit is contained in:
parent
f93ca99fab
commit
3867e1866a
@ -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}
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user