fix: now using two sets of ldap groups, one for linux, one for everything else

This commit is contained in:
silver 2023-06-15 14:29:06 +01:00
parent 0411c8e18c
commit 61bd023737
4 changed files with 23 additions and 10 deletions

View file

@ -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
];
}