aboutsummaryrefslogtreecommitdiffstats
path: root/modules/programs/heroic
diff options
context:
space:
mode:
Diffstat (limited to 'modules/programs/heroic')
-rw-r--r--modules/programs/heroic/default.nix29
1 files changed, 29 insertions, 0 deletions
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 ];
+ };
+}