diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2021-08-08 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2021-09-12 14:59:30 +0200 |
commit | bc3bca822a32fbbc73a9d55394991cef92dba3b9 (patch) | |
tree | 04d54d294f1869dd6f874e92eb5f2c094eef3b7f /nixos/modules/services/network-filesystems | |
parent | 0f15a8f489b04a7d0086edf27920ba15fa1de0d3 (diff) | |
download | nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.gz nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.bz2 nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.lz nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.xz nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.zst nixpkgs-bc3bca822a32fbbc73a9d55394991cef92dba3b9.zip |
nixos: define the primary group of users where needed
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r-- | nixos/modules/services/network-filesystems/orangefs/server.nix | 5 |
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. |