From d09ab77588852a9d30e7f85f85d5266f50f59f78 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Sat, 18 Sep 2021 12:00:00 +0000 Subject: [PATCH] nixos/shout: define group, fix eval after #133166 --- nixos/modules/misc/ids.nix | 2 +- nixos/modules/services/networking/shout.nix | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index 506b90d060a8..61a472c6adfd 100644 --- a/nixos/modules/misc/ids.nix +++ b/nixos/modules/misc/ids.nix @@ -237,7 +237,7 @@ in riemanntools = 203; subsonic = 204; riak = 205; - shout = 206; + #shout = 206; # dynamically allocated as of 2021-09-18 gateone = 207; namecoin = 208; #lxd = 210; # unused diff --git a/nixos/modules/services/networking/shout.nix b/nixos/modules/services/networking/shout.nix index 405808491ea4..cca03a8f88a1 100644 --- a/nixos/modules/services/networking/shout.nix +++ b/nixos/modules/services/networking/shout.nix @@ -83,11 +83,13 @@ in { config = mkIf cfg.enable { users.users.shout = { - uid = config.ids.uids.shout; + isSystemUser = true; + group = "shout"; description = "Shout daemon user"; home = shoutHome; createHome = true; }; + users.groups.shout = {}; systemd.services.shout = { description = "Shout web IRC client";