From 4f2cbc30a8a76508a0e704998a12c41dd5fb38e5 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Mon, 2 Feb 2026 16:53:37 +0100 Subject: fixed an error in hyprland.nix --- modules/nixos/des/hyprland.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'modules/nixos/des/hyprland.nix') diff --git a/modules/nixos/des/hyprland.nix b/modules/nixos/des/hyprland.nix index 6471bfd..1bb131a 100644 --- a/modules/nixos/des/hyprland.nix +++ b/modules/nixos/des/hyprland.nix @@ -1,10 +1,19 @@ { config, lib, pkgs, ... }: { - wayland.windowManager.hyprland = { + # Only NixOS-level Hyprland configuration here + # Home-manager config goes in modules/home/hyprland/chernobyl/ + + services.hyprland = { enable = true; }; - # hint Electron apps to use Wayland: - home.sessionVariables.NIXOS_OZONE_WL = "1"; + # Wayland support + xwayland.enable = true; + + # XDG portal for Wayland + xdg.portal = { + enable = true; + extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ]; + }; } \ No newline at end of file -- cgit v1.2.3