update graphics for remus

This commit is contained in:
MFlossmann 2024-06-27 12:29:43 +02:00
parent a9fa056ccb
commit 7b1578b658
2 changed files with 23 additions and 24 deletions

View file

@ -21,7 +21,7 @@
services.desktopManager.plasma6.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.displayManager.defaultSession = "gnome";
services.displayManager.defaultSession = "plasma";
programs.ssh.askPassword = lib.mkForce "${pkgs.kdePackages.ksshaskpass.out}/bin/ksshaskpass";
@ -57,11 +57,10 @@
# Enable the OpenSSH daemon.
services.openssh.enable = true;
# Enable OpenGL
hardware.opengl = {
# Enable graphics
hardware.graphics = {
enable = true;
driSupport = true;
driSupport32Bit = true;
enable32Bit = true;
};
# Load nvidia driver for Xorg and Wayland
@ -76,7 +75,7 @@
# Enable this if you have graphical corruption issues or application crashes after waking
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
# of just the bare essentials.
powerManagement.enable = false;
powerManagement.enable = true;
# Fine-grained power management. Turns off GPU when not in use.
# Experimental and only works on modern Nvidia GPUs (Turing or newer).