fix: moved the group permissions into teh base config
This commit is contained in:
parent
4e664ce1bc
commit
47c615d7a5
2 changed files with 4 additions and 4 deletions
|
@ -31,6 +31,10 @@
|
|||
];
|
||||
};
|
||||
|
||||
security.sudo.extraRules = [
|
||||
# admin group has sudo access
|
||||
{ groups = [ "skynet-admins" ]; commands = [ { command = "ALL"; options = [ "NOPASSWD" ]; } ]; }
|
||||
];
|
||||
|
||||
networking = {
|
||||
# every sever needs to be accessable over ssh for admin use at least
|
||||
|
|
|
@ -66,10 +66,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
security.sudo.extraRules = [
|
||||
{ groups = [ "skynet-admins" ]; commands = [ { command = "ALL"; options = [ "NOPASSWD" ]; } ]; }
|
||||
];
|
||||
|
||||
services.sssd = {
|
||||
enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue