feat: switched back to hyprland

This commit is contained in:
Nick 2025-01-08 01:05:45 -06:00
parent dd99b3a827
commit b0dc23c7c0
144 changed files with 1347 additions and 477 deletions

22
nixos/modules/wayland.nix Executable file
View file

@ -0,0 +1,22 @@
{pkgs, ...}: {
environment.sessionVariables.NIXOS_OZONE_WL = "1";
xdg = {
portal = {
enable = true;
extraPortals = builtins.attrValues {
inherit
(pkgs)
xdg-desktop-portal-hyprland
xdg-desktop-portal-wlr
xdg-desktop-portal-kde
xdg-desktop-portal-gtk
;
};
wlr.enable = true;
xdgOpenUsePortal = true;
};
};
}