more stuff moved to options and some more consistency

This commit is contained in:
twoneis 2025-03-09 14:52:03 +01:00
parent 6d9dbe38cb
commit 4ab970aea9
28 changed files with 394 additions and 298 deletions

View file

@ -6,6 +6,7 @@
}: let
inherit (lib) mkIf;
inherit (config) conf;
cfg = config.conf.games;
mkXwlWrapper = import ../niri/xwl-wrapper.nix;
holo-script = pkgs.writeShellApplication {
name = "holo-script";
@ -25,7 +26,7 @@
pkg = "steam";
};
in
mkIf conf.games.enable {
mkIf cfg.enable {
programs.steam.enable = true;
programs.gamescope.enable = true;
programs.gamemode.enable = true;