Add capSysNice to gamescope, import sddm to use default session at startup
This commit is contained in:
parent
4bdbd153f0
commit
95dbc45d63
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue