fixed postgres group
This commit is contained in:
@@ -22,9 +22,9 @@
|
||||
++ lib.optional isAdmin "wheel"
|
||||
++ lib.optional config.virtualisation.docker.enable "docker"
|
||||
++ lib.optional (isAdmin && config.services.forgejo.enable) config.services.forgejo.group
|
||||
++ lib.optional (isAdmin && config.services.postgresql.enable) config.services.postgresql.group;
|
||||
++ lib.optional (isAdmin && config.services.postgresql.enable) "postgres";
|
||||
};
|
||||
|
||||
|
||||
security.sudo-rs.enable = lib.mkIf isAdmin true;
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
||||
Reference in New Issue
Block a user