blob: 86039f1dce64eef577ca60a42023e5dd4eaa6b50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.nixfiles.modules.games.gog;
in {
options.nixfiles.modules.games.gog.enable =
mkEnableOption "stand-alone GOG clients and the ability to run GOG games";
config = mkIf cfg.enable {
nixfiles.modules.games.steam-run.enable = true;
hm.home.packages = with pkgs; [lgogdownloader];
};
}
|