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;