Remove unneeded null check
Also remove extra parens.
This commit is contained in:
parent
de2b524e64
commit
3841ed1331
|
@ -49,8 +49,8 @@ in
|
||||||
home.packages = [ pkgs.zathura ];
|
home.packages = [ pkgs.zathura ];
|
||||||
xdg.configFile."zathura/zathurarc".text =
|
xdg.configFile."zathura/zathurarc".text =
|
||||||
concatStringsSep "\n" ([]
|
concatStringsSep "\n" ([]
|
||||||
++ (optional (cfg.extraConfig != "") cfg.extraConfig)
|
++ optional (cfg.extraConfig != "") cfg.extraConfig
|
||||||
++ (optionals (cfg.options != null) (mapAttrsToList formatLine cfg.options))
|
++ mapAttrsToList formatLine cfg.options
|
||||||
) + "\n";
|
) + "\n";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue