nixos/whisparr: Remove static IDs

Changed files
+2 -4
nixos
modules
misc
services
-2
nixos/modules/misc/ids.nix
···
rstudio-server = 324;
localtimed = 325;
automatic-timezoned = 326;
-
whisparr = 328;
# When adding a uid, make sure it doesn't match an existing gid.
#
···
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
···
rstudio-server = 324;
localtimed = 325;
automatic-timezoned = 326;
# When adding a uid, make sure it doesn't match an existing gid.
#
···
rstudio-server = 324;
localtimed = 325;
automatic-timezoned = 326;
# When adding a gid, make sure it doesn't match an existing
# uid. Users and groups with the same name should have equal
+2 -2
nixos/modules/services/misc/whisparr.nix
···
whisparr = {
group = cfg.group;
home = cfg.dataDir;
-
uid = config.ids.uids.whisparr;
};
};
-
users.groups = lib.mkIf (cfg.group == "whisparr") { whisparr.gid = config.ids.gids.whisparr; };
};
}
···
whisparr = {
group = cfg.group;
home = cfg.dataDir;
+
isSystemUser = true;
};
};
+
users.groups.whisparr = lib.mkIf (cfg.group == "whisparr") { };
};
}