This commit is contained in:
Harald Hoyer 2024-01-11 10:26:46 +00:00
parent 66c05f9093
commit 45d6f4b0f3
205 changed files with 9040 additions and 342 deletions

View file

@ -0,0 +1,28 @@
{ options, config, lib, pkgs, ... }:
with lib;
with lib.plusultra;
let
cfg = config.plusultra.suites.games;
apps = {
steam = enabled;
prismlauncher = enabled;
lutris = enabled;
winetricks = enabled;
protontricks = enabled;
doukutsu-rs = enabled;
bottles = enabled;
};
cli-apps = {
wine = enabled;
proton = enabled;
};
in
{
options.plusultra.suites.games = with types; {
enable =
mkBoolOpt false "Whether or not to enable common games configuration.";
};
config = mkIf cfg.enable { plusultra = { inherit apps cli-apps; }; };
}