flocon/modules/nix/programs/games.nix
Anthony Rodriguez ec285bcc52
treewide: config/nixos/programs -> modules/nix/programs
Here, we also use the option we just added, `local.modules.hyprland.enable` to toggle Hyprland, as well as the profiles. Also removed other unused configuration, such as KDE/Gnome.
2025-01-14 14:18:55 +01:00

21 lines
316 B
Nix

{
lib,
config,
...
}: {
config = lib.mkIf config.local.profiles.gaming.enable {
programs = {
steam = {
enable = true;
};
gamemode.enable = true;
gamescope.enable = true;
coolercontrol = {
enable = true;
nvidiaSupport = true;
};
};
};
}