Attempt to fix driver issue

This commit is contained in:
Felix Suchert 2022-06-22 14:19:19 +02:00
parent 6d6b035a76
commit 0166446504
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
2 changed files with 25 additions and 5 deletions

View file

@ -46,6 +46,9 @@ in
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
# ------------ kernel -------------------------------------------------------
boot.kernelPackages = pkgs.linuxKernel.packages.linux_5_10;
# ------------ networking --------------------------------------------------- # ------------ networking ---------------------------------------------------
networking.hostName = "entropy"; # Define your hostname. networking.hostName = "entropy"; # Define your hostname.
networking.wireless = { networking.wireless = {

View file

@ -27,6 +27,9 @@
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1
# firefox x11 <-> wayland interoperability # firefox x11 <-> wayland interoperability
export MOZ_DBUS_REMOTE=1 export MOZ_DBUS_REMOTE=1
# override VA-API driver
export LIBVA_DRIVER_NAME=iHD
''; '';
}; };
@ -40,13 +43,27 @@
# ------------ Display Manager ---------------------------------------------- # ------------ Display Manager ----------------------------------------------
# use sddm for authentication services.xserver = {
services.xserver.enable = true; # under protest
enable = true;
# graphics
#videoDrivers = [ "modesetting" ];
useGlamor = true;
# use sddm for authentication
displayManager.sddm.enable = true;
};
#services.xserver.videoDrivers = [
#"intel"
#"amdgpu"
#"radeon"
#"nouveau"
#"modesetting"
#"fbdev"
#];
#services.xserver.displayManager.gdm = { #services.xserver.displayManager.gdm = {
#enable = true; #enable = true;
#wayland = true; #wayland = true;
#}; #};
services.xserver.displayManager.sddm = {
enable = true;
};
} }