Update
This commit is contained in:
parent
9e8637e9a8
commit
c434816d83
@ -41,15 +41,7 @@
|
|||||||
"${pkgs.bitwarden}/bin/bitwarden"
|
"${pkgs.bitwarden}/bin/bitwarden"
|
||||||
];
|
];
|
||||||
|
|
||||||
monitor = [
|
monitor = [ "eDP-2,highres,0x0,1" ",prefered,auto,1" ];
|
||||||
"eDP-2,highres,0x0,1"
|
|
||||||
# "DP-9,highrr,2560x0,1"
|
|
||||||
",prefered,auto,1"
|
|
||||||
#"desc:,2560x1440@240.0,0x0,1.0"
|
|
||||||
#"desc:,2560x1440@60.0,645x4362,1.0"
|
|
||||||
# "desc:AOC U34G2G1 0x00000E06,3440x1440@59.97,2560x0,1.0"
|
|
||||||
# ",disable"
|
|
||||||
];
|
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty" # Kitty
|
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty" # Kitty
|
||||||
@ -117,7 +109,6 @@
|
|||||||
"ELECTRON_OZONE_PLATFORM_HINT,auto"
|
"ELECTRON_OZONE_PLATFORM_HINT,auto"
|
||||||
"GTK_THEME,FlatColor:dark"
|
"GTK_THEME,FlatColor:dark"
|
||||||
"GTK2_RC_FILES,/home/hadi/.local/share/themes/FlatColor/gtk-2.0/gtkrc"
|
"GTK2_RC_FILES,/home/hadi/.local/share/themes/FlatColor/gtk-2.0/gtkrc"
|
||||||
"NVD_BACKEND,direct"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
cursor = { no_hardware_cursors = true; };
|
cursor = { no_hardware_cursors = true; };
|
||||||
|
@ -13,9 +13,10 @@ in {
|
|||||||
"nvidia.NVreg_PreserveVideoMemoryAllocations=1"
|
"nvidia.NVreg_PreserveVideoMemoryAllocations=1"
|
||||||
];
|
];
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
GBM_BACKEND = "nvidia-drm";
|
# GBM_BACKEND = "nvidia-drm"; # If crash in firefox, remove this line
|
||||||
LIBVA_DRIVER_NAME = "nvidia"; # hardware acceleration
|
LIBVA_DRIVER_NAME = "nvidia"; # hardware acceleration
|
||||||
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
||||||
|
NVD_BACKEND = "direct";
|
||||||
};
|
};
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
nvidia.acceptLicense = true;
|
nvidia.acceptLicense = true;
|
||||||
@ -45,6 +46,7 @@ in {
|
|||||||
vaapiVdpau
|
vaapiVdpau
|
||||||
libvdpau-va-gl
|
libvdpau-va-gl
|
||||||
mesa
|
mesa
|
||||||
|
egl-wayland
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user