summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-09-18 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2021-09-18 12:00:00 +0000
commit8ba5f8115c6a21d98213f08716aae2f386443c26 (patch)
tree005b5de7671824359aab7766a255488a44e2db2b /nixos
parent23d14d89b8678944f8f8211f6366bba3d54f930c (diff)
nixos/zope2: define group
untested as the module is broken (attribute 'modules' missing)
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/misc/ids.nix2
-rw-r--r--nixos/modules/services/web-servers/zope2.nix6
2 files changed, 6 insertions, 2 deletions
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix
index 001d5805e4ac..5f56e0602279 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 3abd506827c0..ab12e87502eb 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