diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index 001d5805e4a..5f56e060227 100644 --- a/nixos/modules/misc/ids.nix +++ b/nixos/modules/misc/ids.nix @@ -217,7 +217,7 @@ in #redis = 181; removed 2018-01-03 #unifi = 183; dynamically allocated as of 2021-09-17 uptimed = 184; - zope2 = 185; + #zope2 = 185; # dynamically allocated as of 2021-09-18 #ripple-data-api = 186; dynamically allocated as of 2021-09-17 mediatomb = 187; #rdnssd = 188; #dynamically allocated as of 2021-09-18 diff --git a/nixos/modules/services/web-servers/zope2.nix b/nixos/modules/services/web-servers/zope2.nix index 3abd506827c..ab12e87502e 100644 --- a/nixos/modules/services/web-servers/zope2.nix +++ b/nixos/modules/services/web-servers/zope2.nix @@ -103,7 +103,11 @@ in config = mkIf (cfg.instances != {}) { - users.users.zope2.uid = config.ids.uids.zope2; + users.users.zope2 = { + isSystemUser = true; + group = "zope2"; + }; + users.groups.zope2 = {}; systemd.services = let