diff --git a/modules/programs/zathura.nix b/modules/programs/zathura.nix index 065a58c3..8911a5cb 100644 --- a/modules/programs/zathura.nix +++ b/modules/programs/zathura.nix @@ -49,8 +49,8 @@ in home.packages = [ pkgs.zathura ]; xdg.configFile."zathura/zathurarc".text = concatStringsSep "\n" ([] - ++ (optional (cfg.extraConfig != "") cfg.extraConfig) - ++ (optionals (cfg.options != null) (mapAttrsToList formatLine cfg.options)) + ++ optional (cfg.extraConfig != "") cfg.extraConfig + ++ mapAttrsToList formatLine cfg.options ) + "\n"; }; }