Explicitly define user group
This commit is contained in:
parent
d2e1081197
commit
d335bb2b70
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user