summary refs log tree commit diff
path: root/nixos/modules/services/network-filesystems
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien@users.noreply.github.com>2021-09-13 18:29:21 +0000
committerGitHub <noreply@github.com>2021-09-13 18:29:21 +0000
commit359203459580a280ae4962d7f7cece321525b872 (patch)
tree5e280c2af8a02a984cc0fa03d3caa87efacc513f /nixos/modules/services/network-filesystems
parentdddf775e4c938b8ae4b0ecfae6ee3d37a850b19e (diff)
parent27f0f8965b91cf8b462fd0ff5a15cbe27746c4c5 (diff)
downloadnixpkgs-359203459580a280ae4962d7f7cece321525b872.tar
nixpkgs-359203459580a280ae4962d7f7cece321525b872.tar.gz
nixpkgs-359203459580a280ae4962d7f7cece321525b872.tar.bz2
nixpkgs-359203459580a280ae4962d7f7cece321525b872.tar.lz
nixpkgs-359203459580a280ae4962d7f7cece321525b872.tar.xz
nixpkgs-359203459580a280ae4962d7f7cece321525b872.tar.zst
nixpkgs-359203459580a280ae4962d7f7cece321525b872.zip
Merge pull request #133166 from symphorien/nonogroup
Don't default to nogroup for the primary group of users.
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r--nixos/modules/services/network-filesystems/orangefs/server.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/network-filesystems/orangefs/server.nix b/nixos/modules/services/network-filesystems/orangefs/server.nix
index 8eb754fe611..8c55ccf5ffb 100644
--- a/nixos/modules/services/network-filesystems/orangefs/server.nix
+++ b/nixos/modules/services/network-filesystems/orangefs/server.nix
@@ -193,7 +193,10 @@ in {
     environment.systemPackages = [ pkgs.orangefs ];
 
     # orangefs daemon will run as user
-    users.users.orangefs.isSystemUser = true;
+    users.users.orangefs = {
+      isSystemUser = true;
+      group = "orangfs";
+    };
     users.groups.orangefs = {};
 
     # To format the file system the config file is needed.