aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gaming/heroic
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-24 03:59:42 +0530
committerArpit Chakladar <arpitchakladar@gmail.com>2026-09-24 04:02:07 +0530
commit748669e19daa3afc8f0cfe10eedc19ae9766ed2c (patch)
treead9b994cc5415f63bae1f2342f520756d43c67ce /modules/gaming/heroic
parentc5bdaefa94c3cd9bb7e55747f1682edef4168932 (diff)
downloadhome-manager-config-748669e19daa3afc8f0cfe10eedc19ae9766ed2c.tar.gz
home-manager-config-748669e19daa3afc8f0cfe10eedc19ae9766ed2c.zip
refactor: link packaged icons into the hicolor theme
Diffstat (limited to 'modules/gaming/heroic')
-rw-r--r--modules/gaming/heroic/default.nix5
1 files changed, 4 insertions, 1 deletions
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" ];