fix: now using two sets of ldap groups, one for linux, one for everything else
This commit is contained in:
parent
0411c8e18c
commit
61bd023737
4 changed files with 23 additions and 10 deletions
|
@ -34,11 +34,6 @@
|
|||
];
|
||||
};
|
||||
|
||||
security.sudo.extraRules = [
|
||||
# admin group has sudo access
|
||||
{ groups = [ "skynet-admins" ]; commands = [ { command = "ALL"; options = [ "NOPASSWD" ]; } ]; }
|
||||
];
|
||||
|
||||
# skynet-admin will always be added, individual servers can override the grpoups option
|
||||
services.skynet_ldap_client.enable = true;
|
||||
|
||||
|
@ -84,5 +79,6 @@
|
|||
pkgs.bind
|
||||
pkgs.zip
|
||||
pkgs.traceroute
|
||||
pkgs.openldap
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue