mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
irssi: fix syntax error when no channels are specified
This commit is contained in:
parent
da1f6fab90
commit
5d4327cff4
1 changed files with 9 additions and 8 deletions
|
@ -44,14 +44,15 @@ let
|
||||||
}
|
}
|
||||||
''));
|
''));
|
||||||
|
|
||||||
channelString = concatStringsSep cnl (flip mapAttrsToList cfg.networks (k: v:
|
channelString = concatStringsSep cnl (concatLists
|
||||||
concatStringsSep cnl (flip mapAttrsToList v.channels (c: cv: ''
|
(flip mapAttrsToList cfg.networks (k: v:
|
||||||
|
(flip mapAttrsToList v.channels (c: cv: ''
|
||||||
{
|
{
|
||||||
chatnet = "${k}";
|
chatnet = "${k}";
|
||||||
name = "${c}";
|
name = "${c}";
|
||||||
autojoin = "${boolStr cv.autoJoin}";
|
autojoin = "${boolStr cv.autoJoin}";
|
||||||
}
|
}
|
||||||
''))));
|
'')))));
|
||||||
|
|
||||||
channelType = types.submodule {
|
channelType = types.submodule {
|
||||||
options = {
|
options = {
|
||||||
|
|
Loading…
Reference in a new issue