diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/communication/neomutt/default.nix | 4 | ||||
| -rw-r--r-- | modules/development/git/default.nix | 2 | ||||
| -rw-r--r-- | modules/gaming/heroic/default.nix | 5 |
3 files changed, 8 insertions, 3 deletions
diff --git a/modules/communication/neomutt/default.nix b/modules/communication/neomutt/default.nix index 385c290..e091a7d 100644 --- a/modules/communication/neomutt/default.nix +++ b/modules/communication/neomutt/default.nix @@ -70,6 +70,8 @@ in xdg.configFile."neomutt/mailcap".text = builtins.replaceStrings [ "@@HTML_VIEWER@@" ] [ (lib.getExe config.web.chawan.package) ] (builtins.readFile ./mailcap); + home.file.".local/share/icons/hicolor/scalable/apps/neomutt.svg".source = + config.lib.file.mkOutOfStoreSymlink "${config.programs.neomutt.package}/share/neomutt/logo/neomutt.svg"; programs.neomutt = { enable = true; package = pkgs.symlinkJoin { @@ -99,7 +101,7 @@ in xdg.desktopEntries."neomutt" = { name = "NeoMutt"; exec = "${lib.getExe config.terminal.kitty.package} --class neomutt -e ${lib.getExe config.programs.neomutt.package}"; - icon = "${config.programs.neomutt.package}/share/neomutt/logo/neomutt.svg"; + icon = "neomutt"; categories = [ "Network" "Email" diff --git a/modules/development/git/default.nix b/modules/development/git/default.nix index 593c8a3..f2a0d64 100644 --- a/modules/development/git/default.nix +++ b/modules/development/git/default.nix @@ -56,7 +56,7 @@ in enable = true; signing = { key = cfg.signing.key; - sign-by-default = cfg.signing.sign-by-default; + signByDefault = cfg.signing.sign-by-default; }; settings = lib.mkMerge [ { diff --git a/modules/gaming/heroic/default.nix b/modules/gaming/heroic/default.nix index 3378932..61eceb5 100644 --- a/modules/gaming/heroic/default.nix +++ b/modules/gaming/heroic/default.nix @@ -34,10 +34,13 @@ in config = lib.mkIf cfg.enable { home.packages = [ cfg.package ]; + home.file.".local/share/icons/hicolor/scalable/apps/com.heroicgameslauncher.hgl.svg".source = + config.lib.file.mkOutOfStoreSymlink "${pkgs.heroic}/share/icons/hicolor/scalable/apps/com.heroicgameslauncher.hgl.svg"; + xdg.desktopEntries."heroic" = { name = "Heroic Games Launcher"; exec = "${lib.getExe' cfg.package "heroic"} %u"; - icon = "${pkgs.heroic}/share/icons/hicolor/scalable/apps/com.heroicgameslauncher.hgl.svg"; + icon = "com.heroicgameslauncher.hgl"; comment = "An Open Source Launcher for GOG, Epic Games and Amazon Games"; categories = [ "Game" ]; mimeType = [ "x-scheme-handler/heroic" ]; |
