add gamescope to steam and gamemode
This commit is contained in:
@@ -102,6 +102,7 @@
|
||||
./modules/graphical/plasma.nix
|
||||
./modules/graphical/hyprland.nix
|
||||
./modules/graphical/emulators.nix
|
||||
./modules/graphical/gamemode.nix
|
||||
./modules/graphical/shared.nix
|
||||
./modules/hardware/nvidia.nix
|
||||
./modules/hardware/ssd.nix
|
||||
|
||||
11
modules/graphical/gamemode.nix
Normal file
11
modules/graphical/gamemode.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.gamemode = {
|
||||
enable = true;
|
||||
settings.custom = {
|
||||
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
||||
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -10,6 +10,7 @@ in
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
@@ -28,6 +28,6 @@
|
||||
# accessible via `nvidia-settings`.
|
||||
nvidiaSettings = true;
|
||||
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
||||
package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user