blob: d0bd0d18df60b8defbfa1906c93d8f32e438a61c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 ];
};
}
|