feat: fuck hyprland until they fix their shit

This commit is contained in:
Nick 2025-02-01 19:13:39 -06:00
parent 2c2c38225a
commit a4afc18937
13 changed files with 337 additions and 98 deletions

View file

@ -1,18 +1,14 @@
{
pkgs,
# flake,
flake,
...
}: {
}:
{
programs.hyprland = {
enable = true;
xwayland.enable = true;
# package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
};
xdg.portal = {
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
];
package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
portalPackage = flake.inputs.hyprland-portal.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
};
nix = {
settings = {
@ -24,4 +20,13 @@
];
};
};
environment = {
variables = {
WLR_NO_HARDWARE_CURSORS = "1";
WLR_DRM_NO_ATOMIC = "1";
FLAMESHOT_ENABLE_WAYLAND = "1";
USE_WAYLAND_GRIM = "1";
USE_WAYLAND_CLIPBOARD = "1";
};
};
}