1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

irssi: fix syntax error when no channels are specified

This commit is contained in:
ReplayCoding 2022-03-12 13:51:48 -08:00 committed by Robert Helgesson
parent da1f6fab90
commit 5d4327cff4
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -44,14 +44,15 @@ let
}
''));
channelString = concatStringsSep cnl (flip mapAttrsToList cfg.networks (k: v:
concatStringsSep cnl (flip mapAttrsToList v.channels (c: cv: ''
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 = {