This commit is contained in:
2024-01-14 16:22:16 +00:00
parent 8512ede266
commit 812974e7c8
4 changed files with 43 additions and 173 deletions

View File

@@ -37,10 +37,14 @@ in {
xwayland = {
enable = true;
};
enableNvidiaPatches = hostname == "elderbug";
extraConfig =
(builtins.readFile ./${hostname}.conf)
+ ''
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch