From 0dfaae50a49782d9e6a226bb646b0c85ee1d940d Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sat, 15 Apr 2023 19:45:16 +0200 Subject: [PATCH] mediaserver: nfs --- system/nixos/mediaserver-setup.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/system/nixos/mediaserver-setup.nix b/system/nixos/mediaserver-setup.nix index 4095760..62ca1c5 100644 --- a/system/nixos/mediaserver-setup.nix +++ b/system/nixos/mediaserver-setup.nix @@ -1,13 +1,13 @@ { + users.groups.media_group = { + gid = 2001; + }; + users.users.media_user = { uid = 1001; isSystemUser = true; description = "Media User"; - }; - - users.groups.media_group = { - gid = 2001; - members = [ "media_user" ]; + group = "media_group"; }; services.rpcbind.enable = true;