1
0

Explicitly define user group

This commit is contained in:
dump_stack() 2022-05-11 14:29:25 +00:00
parent d2e1081197
commit d335bb2b70
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -52,10 +52,12 @@ in {
users.users.out-of-tree = { users.users.out-of-tree = {
home = "/var/out-of-tree"; home = "/var/out-of-tree";
group = "out-of-tree";
isSystemUser = true; isSystemUser = true;
createHome = true; createHome = true;
extraGroups = [ "docker" "kvm" ]; extraGroups = [ "docker" "kvm" ];
}; };
users.groups.out-of-tree = {};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(writeShellScriptBin "fhs" "sudo ${fhs}/bin/fhs") (writeShellScriptBin "fhs" "sudo ${fhs}/bin/fhs")