diff options
author | makefu <github@syntax-fehler.de> | 2020-04-23 16:59:07 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-04-23 16:59:07 +0200 |
commit | 07ab7b9519b6b5f253690101571f8fa12f20f4da (patch) | |
tree | ddb78a201c98177293c80135710b6c8b8e9025f2 /krebs/3modules | |
parent | 5b0d6c30d0bde6254d995a0c9b58b2ef70f16594 (diff) | |
parent | 0fbf9144d4bf93840faa49c7743e3273337bed0f (diff) |
Merge remote-tracking branch 'lass/master' into 20.03
Diffstat (limited to 'krebs/3modules')
-rw-r--r-- | krebs/3modules/charybdis.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/krebs/3modules/charybdis.nix b/krebs/3modules/charybdis.nix index aa7c980c5..038d79dd0 100644 --- a/krebs/3modules/charybdis.nix +++ b/krebs/3modules/charybdis.nix @@ -71,14 +71,13 @@ in config = mkIf cfg.enable (lib.mkMerge [ { - users.users = singleton { - name = cfg.user; + users.users.${cfg.user} = { description = "Charybdis IRC daemon user"; uid = config.ids.uids.ircd; group = cfg.group; }; - users.groups = singleton { + users.groups.${cfg.group} = { name = cfg.group; gid = config.ids.gids.ircd; }; @@ -102,7 +101,7 @@ in }; } - + (mkIf (cfg.motd != null) { environment.etc."charybdis/ircd.motd".text = cfg.motd; }) |