diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index ca7fc9ebf8ad7e..a2c0438801ad7a 100644 --- a/nixos/modules/misc/ids.nix +++ b/nixos/modules/misc/ids.nix @@ -355,7 +355,6 @@ in rstudio-server = 324; localtimed = 325; automatic-timezoned = 326; - whisparr = 328; # When adding a uid, make sure it doesn't match an existing gid. # @@ -683,7 +682,6 @@ in rstudio-server = 324; localtimed = 325; automatic-timezoned = 326; - whisparr = 328; # 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/misc/whisparr.nix b/nixos/modules/services/misc/whisparr.nix index 8594a682ec9f3e..bf15ee70fde440 100644 --- a/nixos/modules/services/misc/whisparr.nix +++ b/nixos/modules/services/misc/whisparr.nix @@ -64,10 +64,10 @@ in whisparr = { group = cfg.group; home = cfg.dataDir; - uid = config.ids.uids.whisparr; + isSystemUser = true; }; }; - users.groups = lib.mkIf (cfg.group == "whisparr") { whisparr.gid = config.ids.gids.whisparr; }; + users.groups.whisparr = lib.mkIf (cfg.group == "whisparr") { }; }; }