nixdots/modules/home-manager/desktop/hyprland.nix
2026-01-10 18:00:49 +03:00

29 lines
566 B
Nix

{
lib,
pkgs,
...
}: {
home.pointerCursor = {
gtk.enable = true;
x11.enable = true;
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 16;
};
home.sessionVariables = {
NIXOS_OZONE_WL = "1"; # hint Electron apps to use Wayland
QT_QPA_PLATFORM = "wayland";
KITTY_DISABLE_WAYLAND_PORTAL = 1;
};
xdg.portal = {
enable = true;
# wlr.enable = true;
config.common.default = "hyprland";
xdgOpenUsePortal = true;
extraPortals = [
pkgs.xdg-desktop-portal-hyprland
];
};
}