Modified desktop configuration

This commit is contained in:
2024-06-20 12:56:01 +02:00
parent 7c8c81a9aa
commit 2c1e99608a
6 changed files with 75 additions and 53 deletions

View File

@@ -31,11 +31,9 @@
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
# Only available from driver 515.43.04+
# Currently alpha-quality/buggy, so false is currently the recommended setting.
open = true;
open = false;
nvidiaSettings = true;
package = pkgs.unstable.linuxKernel.packages.linux_6_6.nvidia_x11_beta;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
programs.gamemode.enable = true;
}

View File

@@ -0,0 +1,18 @@
{ pkgs, ... }:
{
services.xserver.enable = true;
services.displayManager.sddm.enable = true;
services.desktopManager.plasma6.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
}

View File

@@ -1,10 +1,10 @@
{ ..., pkgs }:
{ pkgs, ... }:
{
services.sunshine = {
enable = true;
package = pkgs.unstable.sunshine;
autostart = true;
package = pkgs.unstable.sunshine.override { cudaSupport = true; };
autoStart = true;
capSysAdmin = true;
openFirewall = true;
};