From 1da383aeeb952804b5080fba7f6eca1e3763604d Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Mon, 9 Dec 2024 09:37:19 -0600 Subject: [PATCH] nixos/suites/games: use mkDefault options --- modules/nixos/suites/games/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/nixos/suites/games/default.nix b/modules/nixos/suites/games/default.nix index 806b220cc..b0fd6df2a 100644 --- a/modules/nixos/suites/games/default.nix +++ b/modules/nixos/suites/games/default.nix @@ -5,6 +5,7 @@ ... }: let + inherit (lib) mkDefault; inherit (lib.${namespace}) mkBoolOpt enabled; cfg = config.${namespace}.suites.games; @@ -19,13 +20,13 @@ in programs = { graphical = { addons = { - gamemode = enabled; - gamescope = enabled; - # mangohud = enabled; + gamemode = mkDefault enabled; + gamescope = mkDefault enabled; + # mangohud = mkDefault enabled; }; apps = { - steam = enabled; + steam = mkDefault enabled; }; }; };