diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-02-02 17:00:24 +0100 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-02-02 17:00:24 +0100 |
| commit | 9cc679dcaf0dcd995d81623620b819a8a48d2be1 (patch) | |
| tree | 7232075bcc3f337ab2998e376cf7c888be78ca30 /modules/nixos/des | |
| parent | 4ff3c05ea1633666b92c45b70be1e22720be263a (diff) | |
fixed hyprland to properly use walyand instead of x11
Diffstat (limited to 'modules/nixos/des')
| -rw-r--r-- | modules/nixos/des/hyprland.nix | 17 |
1 files 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 |
