From f160233793af1d8b03dce69757a621f389d363aa Mon Sep 17 00:00:00 2001 From: Alex Guzman Date: Wed, 7 Aug 2019 12:34:52 -0700 Subject: [PATCH] roon-server: let nix assign ids --- nixos/modules/misc/ids.nix | 2 -- nixos/modules/services/audio/roon-server.nix | 2 -- 2 files changed, 4 deletions(-) diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index 225068d76403..1047df95cdf5 100644 --- a/nixos/modules/misc/ids.nix +++ b/nixos/modules/misc/ids.nix @@ -340,7 +340,6 @@ cockroachdb = 313; zoneminder = 314; paperless = 315; - roon-server = 316; # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399! @@ -641,7 +640,6 @@ cockroachdb = 313; zoneminder = 314; paperless = 315; - roon-server = 316; # When adding a gid, make sure it doesn't match an existing # uid. Users and groups with the same name should have equal diff --git a/nixos/modules/services/audio/roon-server.nix b/nixos/modules/services/audio/roon-server.nix index 81980c8f6b28..4e4e79694bfc 100644 --- a/nixos/modules/services/audio/roon-server.nix +++ b/nixos/modules/services/audio/roon-server.nix @@ -60,12 +60,10 @@ in { users.groups = singleton { name = cfg.group; - gid = config.ids.gids.roon-server; }; users.users = singleton { name = cfg.user; description = "Roon Server user"; - uid = config.ids.uids.roon-server; groups = [ cfg.group "audio" ]; }; };