irssi: fix syntax error when no channels are specified

main
ReplayCoding 2 years ago committed by Robert Helgesson
parent da1f6fab90
commit 5d4327cff4
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
  1. 17
      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 = {

Loading…
Cancel
Save