From 10fba583b7815b043b5813141480c97b7e44942e Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Fri, 1 Mar 2024 08:24:08 +0100 Subject: [PATCH] Add amdgpu to boot, make plasma wayland session default. --- nixos/configuration.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index e6bb692..d801cb6 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -71,6 +71,9 @@ settings = { General = { InputMethod = ""; }; }; }; + # Set default sddm session to plasma wayland + services.xserver.displayManager.defaultSession = "plasmawayland"; + # Setup plasma with excluding a couple unnecesarry packages services.xserver.desktopManager.plasma5.enable = true; environment.plasma5.excludePackages = with pkgs.libsForQt5; [ @@ -112,8 +115,11 @@ # Open Tablet Driver setup hardware.opentabletdriver.enable = true; + # load amdgpu at boot + boot.initrd.kernelModules = [ "amdgpu" ]; + # Load nvidia driver for Xorg and Wayland - services.xserver.videoDrivers = [ "nvidia" ]; + services.xserver.videoDrivers = [ "amdgpu" "nvidia" ]; # Steam settings programs.steam = {