diff --git a/modules/programs/irssi.nix b/modules/programs/irssi.nix index a8f8a22f..ea749863 100644 --- a/modules/programs/irssi.nix +++ b/modules/programs/irssi.nix @@ -44,14 +44,15 @@ let } '')); - channelString = concatStringsSep cnl (flip mapAttrsToList cfg.networks (k: v: - concatStringsSep cnl (flip mapAttrsToList v.channels (c: cv: '' - { - chatnet = "${k}"; - name = "${c}"; - autojoin = "${boolStr cv.autoJoin}"; - } - '')))); + channelString = concatStringsSep cnl (concatLists + (flip mapAttrsToList cfg.networks (k: v: + (flip mapAttrsToList v.channels (c: cv: '' + { + chatnet = "${k}"; + name = "${c}"; + autojoin = "${boolStr cv.autoJoin}"; + } + ''))))); channelType = types.submodule { options = {