System Gen76 @ 2025-06-25-01:01:32 by jonas@monolith

This commit is contained in:
2025-06-25 01:01:32 +02:00
parent 211978092d
commit 1a4c3ff397
2 changed files with 15 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
{
config,
inputs,
lib,
pkgs,
...
@@ -15,6 +16,13 @@ in {
Enable Steam support.
'';
};
dayz = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Enable DayZ tools.
'';
};
lutris = lib.mkOption {
type = lib.types.bool;
default = false;
@@ -48,10 +56,15 @@ in {
];
})
++ lib.optional cfg.r2modman pkgs.r2modman
++ lib.optionals cfg.dayz [
pkgs.hive.crossover
inputs.dzgui-nix.packages.${pkgs.stdenv.system}.default
]
++ lib.optionals cfg.wine [
pkgs.wine
pkgs.winetricks
];
]
++ lib.optional (cfg.steam && cfg.wine) pkgs.proton-caller;
programs.steam = lib.mkIf cfg.steam {
enable = true;