From 8ba5f8115c6a21d98213f08716aae2f386443c26 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Sat, 18 Sep 2021 12:00:00 +0000 Subject: [PATCH] nixos/zope2: define group untested as the module is broken (attribute 'modules' missing) --- nixos/modules/misc/ids.nix | 2 +- nixos/modules/services/web-servers/zope2.nix | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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