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 = {