mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-21 22:06:29 +00:00
Attempt to fix driver issue
This commit is contained in:
parent
6d6b035a76
commit
0166446504
2 changed files with 25 additions and 5 deletions
|
@ -46,6 +46,9 @@ in
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# ------------ kernel -------------------------------------------------------
|
||||
boot.kernelPackages = pkgs.linuxKernel.packages.linux_5_10;
|
||||
|
||||
# ------------ networking ---------------------------------------------------
|
||||
networking.hostName = "entropy"; # Define your hostname.
|
||||
networking.wireless = {
|
||||
|
|
|
@ -27,6 +27,9 @@
|
|||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
# firefox x11 <-> wayland interoperability
|
||||
export MOZ_DBUS_REMOTE=1
|
||||
|
||||
# override VA-API driver
|
||||
export LIBVA_DRIVER_NAME=iHD
|
||||
'';
|
||||
};
|
||||
|
||||
|
@ -40,13 +43,27 @@
|
|||
|
||||
|
||||
# ------------ Display Manager ----------------------------------------------
|
||||
# use sddm for authentication
|
||||
services.xserver.enable = true;
|
||||
services.xserver = {
|
||||
# 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 = {
|
||||
#enable = true;
|
||||
#wayland = true;
|
||||
#};
|
||||
services.xserver.displayManager.sddm = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue