{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }: { # Disable X11 for Wayland-only setup services.xserver.enable = false; # Enable Hyprland programs.hyprland = { enable = true; }; # XDG portal for Wayland xdg.portal = { enable = true; extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ]; }; # Required Wayland packages environment.systemPackages = with pkgs; [ qt6.qtwayland qt6.qttools hyprpolkitagent ]; }