Add capSysNice to gamescope, import sddm to use default session at startup

This commit is contained in:
Evie Litherland-Smith 2023-06-17 10:38:13 +01:00
parent 4bdbd153f0
commit 95dbc45d63

View file

@ -4,17 +4,21 @@
../../hardware/audio.nix
../../hardware/bluetooth.nix
../../locales/en_GB.nix
../../desktop/sddm.nix
];
networking = {
hostName = "Vanguard"; # Define your hostname.
nameservers = ["192.168.1.230" "9.9.9.9"];
firewall = {enable = true;};
};
services.xserver.displayManager.defaultSession = "gamescope";
services.xserver.displayManager.defaultSession = "steam";
environment.systemPackages = with pkgs; [mesa];
# Steam
programs.gamescope.enable = true;
programs.gamescope = {
enable = true;
capSysNice = true;
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;