22 lines
398 B
Nix
22 lines
398 B
Nix
|
|
programs.hyprland = {
|
|
enable = true;
|
|
nvidiaPatches = false;
|
|
xwayland.enable = true;
|
|
};
|
|
|
|
environment.sessionVariables = {
|
|
If # your cursor becomes invisible
|
|
WLR_NO_HARDWARE_CURSORS = "1";
|
|
# Hint electron apps to use wayland
|
|
NIXOS_OZONE_WL = "1";
|
|
};
|
|
|
|
hardware = {
|
|
Opengl
|
|
opengl.enable = true;
|
|
|
|
# Most wayland compositors need this
|
|
nvidia.modesetting.enable = false;
|
|
};
|