Anthony Rodriguez
ec285bcc52
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.
21 lines
316 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
}
|