From 53fc9451f629ab8ee9c8cf749d3dcf2df5cdbd50 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sun, 17 May 2026 20:38:56 +0530 Subject: using heroic launcher for games and other windows apps --- modules/programs/heroic/default.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 modules/programs/heroic/default.nix (limited to 'modules/programs/heroic/default.nix') diff --git a/modules/programs/heroic/default.nix b/modules/programs/heroic/default.nix new file mode 100644 index 0000000..d0bd0d1 --- /dev/null +++ b/modules/programs/heroic/default.nix @@ -0,0 +1,29 @@ +{ + config, + pkgs, + lib, + ... +}: + +# Heroic Games Launcher - An elegant UI for Epic, GOG, and Amazon Games using UMU under the hood +{ + options.programs.heroic = { + enable = lib.mkEnableOption "Enables Heroic Games Launcher."; + package = lib.mkOption { + type = lib.types.package; + default = pkgs.symlinkJoin { + name = "heroic-bundle"; + paths = with pkgs; [ + heroic + winetricks + xdg-user-dirs + ]; + }; + description = "Bundle of Heroic Games Launcher, winetricks, and core utilities."; + }; + }; + + config = lib.mkIf config.programs.heroic.enable { + home.packages = [ config.programs.heroic.package ]; + }; +} -- cgit v1.2.3