Add amdgpu to boot, make plasma wayland session default.

This commit is contained in:
CronyAkatsuki 2024-03-01 08:24:08 +01:00
parent 906719cd3b
commit 10fba583b7

View File

@ -71,6 +71,9 @@
settings = { General = { InputMethod = ""; }; }; settings = { General = { InputMethod = ""; }; };
}; };
# Set default sddm session to plasma wayland
services.xserver.displayManager.defaultSession = "plasmawayland";
# Setup plasma with excluding a couple unnecesarry packages # Setup plasma with excluding a couple unnecesarry packages
services.xserver.desktopManager.plasma5.enable = true; services.xserver.desktopManager.plasma5.enable = true;
environment.plasma5.excludePackages = with pkgs.libsForQt5; [ environment.plasma5.excludePackages = with pkgs.libsForQt5; [
@ -112,8 +115,11 @@
# Open Tablet Driver setup # Open Tablet Driver setup
hardware.opentabletdriver.enable = true; hardware.opentabletdriver.enable = true;
# load amdgpu at boot
boot.initrd.kernelModules = [ "amdgpu" ];
# Load nvidia driver for Xorg and Wayland # Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "amdgpu" "nvidia" ];
# Steam settings # Steam settings
programs.steam = { programs.steam = {