about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorAlex Guzman <alex@guzman.io>2019-08-07 12:34:52 -0700
committerAlex Guzman <alex@guzman.io>2019-08-07 12:34:52 -0700
commitf160233793af1d8b03dce69757a621f389d363aa (patch)
treea3cd275f3fa48b144bb4069e45c67fab6942856b /nixos/modules
parent62d242d1cdc086a04eb4da6c973a3e8e15c370aa (diff)
downloadnixlib-f160233793af1d8b03dce69757a621f389d363aa.tar
nixlib-f160233793af1d8b03dce69757a621f389d363aa.tar.gz
nixlib-f160233793af1d8b03dce69757a621f389d363aa.tar.bz2
nixlib-f160233793af1d8b03dce69757a621f389d363aa.tar.lz
nixlib-f160233793af1d8b03dce69757a621f389d363aa.tar.xz
nixlib-f160233793af1d8b03dce69757a621f389d363aa.tar.zst
nixlib-f160233793af1d8b03dce69757a621f389d363aa.zip
roon-server: let nix assign ids
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/misc/ids.nix2
-rw-r--r--nixos/modules/services/audio/roon-server.nix2
2 files changed, 0 insertions, 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" ];
     };
   };