Merge pull request #48756 from Infinisil/fix/znc-extraZncConf
nixos/znc: Fix regressions introduced in #45470
This commit is contained in:
commit
2146c6d8db
@ -239,6 +239,7 @@ in
|
||||
IPv4 = mkDefault true;
|
||||
IPv6 = mkDefault true;
|
||||
SSL = mkDefault c.useSSL;
|
||||
URIPrefix = c.uriPrefix;
|
||||
};
|
||||
User.${c.userName} = {
|
||||
Admin = mkDefault true;
|
||||
@ -254,8 +255,9 @@ in
|
||||
listToAttrs (map (n: nameValuePair "#${n}" (mkDefault {})) net.channels);
|
||||
extraConfig = if net.extraConf == "" then mkDefault null else net.extraConf;
|
||||
}) c.networks;
|
||||
extraConfig = [ c.passBlock ] ++ optional (c.extraZncConf != "") c.extraZncConf;
|
||||
extraConfig = [ c.passBlock ];
|
||||
};
|
||||
extraConfig = optional (c.extraZncConf != "") c.extraZncConf;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user