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/audio.nix
|
||||||
../../hardware/bluetooth.nix
|
../../hardware/bluetooth.nix
|
||||||
../../locales/en_GB.nix
|
../../locales/en_GB.nix
|
||||||
|
../../desktop/sddm.nix
|
||||||
];
|
];
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "Vanguard"; # Define your hostname.
|
hostName = "Vanguard"; # Define your hostname.
|
||||||
nameservers = ["192.168.1.230" "9.9.9.9"];
|
nameservers = ["192.168.1.230" "9.9.9.9"];
|
||||||
firewall = {enable = true;};
|
firewall = {enable = true;};
|
||||||
};
|
};
|
||||||
services.xserver.displayManager.defaultSession = "gamescope";
|
services.xserver.displayManager.defaultSession = "steam";
|
||||||
environment.systemPackages = with pkgs; [mesa];
|
environment.systemPackages = with pkgs; [mesa];
|
||||||
|
|
||||||
# Steam
|
# Steam
|
||||||
programs.gamescope.enable = true;
|
programs.gamescope = {
|
||||||
|
enable = true;
|
||||||
|
capSysNice = true;
|
||||||
|
};
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true;
|
remotePlay.openFirewall = true;
|
||||||
|
|
Loading…
Reference in a new issue