fix: moved the group permissions into teh base config

This commit is contained in:
silver 2023-05-20 22:17:21 +01:00
parent 4e664ce1bc
commit 47c615d7a5
2 changed files with 4 additions and 4 deletions

View file

@ -31,6 +31,10 @@
]; ];
}; };
security.sudo.extraRules = [
# admin group has sudo access
{ groups = [ "skynet-admins" ]; commands = [ { command = "ALL"; options = [ "NOPASSWD" ]; } ]; }
];
networking = { networking = {
# every sever needs to be accessable over ssh for admin use at least # every sever needs to be accessable over ssh for admin use at least

View file

@ -66,10 +66,6 @@ in {
}; };
}; };
security.sudo.extraRules = [
{ groups = [ "skynet-admins" ]; commands = [ { command = "ALL"; options = [ "NOPASSWD" ]; } ]; }
];
services.sssd = { services.sssd = {
enable = true; enable = true;