added reshade
wip: there are other packages available, might be advantageous of me to added those other packages as optional values
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.gaming;
|
||||
@ -108,6 +109,10 @@ in {
|
||||
ffxiv = {
|
||||
enable = lib.mkEnableOption "Final Fantasy XIV and it's accompanied (unofficial) launcher";
|
||||
};
|
||||
|
||||
reshade = {
|
||||
enable = lib.mkEnableOption "ReShade, a post-processing injector for games and video software";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
@ -154,6 +159,7 @@ in {
|
||||
cfg.lutris.extraPackages
|
||||
)) ++
|
||||
(lib.optionals cfg.minecraft.enable [pkgs.prismlauncher]) ++
|
||||
(lib.optionals cfg.ffxiv.enable [pkgs.xivlauncher]);
|
||||
(lib.optionals cfg.ffxiv.enable [pkgs.xivlauncher]) ++
|
||||
(lib.optionals cfg.reshade.enable [inputs.packages.${pkgs.system}.reshade]);
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user