From 9cc679dcaf0dcd995d81623620b819a8a48d2be1 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Mon, 2 Feb 2026 17:00:24 +0100 Subject: fixed hyprland to properly use walyand instead of x11 --- modules/nixos/des/hyprland.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/modules/nixos/des/hyprland.nix b/modules/nixos/des/hyprland.nix index ba68866..bb18225 100644 --- a/modules/nixos/des/hyprland.nix +++ b/modules/nixos/des/hyprland.nix @@ -1,19 +1,26 @@ { config, lib, pkgs, ... }: +{ config, lib, pkgs, ... }: + { - # Only NixOS-level Hyprland configuration here - # Home-manager config goes in modules/home/hyprland/chernobyl/ + # Disable X11 for Wayland-only setup + services.xserver.enable = false; + # Enable Hyprland programs.hyprland = { enable = true; }; - # Wayland support - services.xserver.xwayland.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 + ]; } \ No newline at end of file -- cgit v1.2.3