{ config, pkgs, inputs, ... }: { programs.hyprland = { enable = true; # You can add more configuration options here as needed # For example, to set a basic config file: # settings = { # ... # }; portalPackage = pkgs.xdg-desktop-portal-hyprland; }; # Enable UWSM for better Wayland session management programs.uwsm = { enable = true; waylandCompositors = { hyprland = { prettyName = "Hyprland"; comment = "Hyprland Wayland compositor"; binPath = "/run/current-system/sw/bin/Hyprland"; }; }; }; environment.sessionVariables.NIXOS_OZONE_WL = "1"; }