Skip to content

Commit

Permalink
nixos/suites/games: use mkDefault options
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Dec 9, 2024
1 parent 6c27e77 commit 1da383a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/nixos/suites/games/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
...
}:
let
inherit (lib) mkDefault;
inherit (lib.${namespace}) mkBoolOpt enabled;

cfg = config.${namespace}.suites.games;
Expand All @@ -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;
};
};
};
Expand Down

0 comments on commit 1da383a

Please sign in to comment.