diff options
Diffstat (limited to 'modules/nixos/des/hyprland.nix')
| -rw-r--r-- | modules/nixos/des/hyprland.nix | 15 |
1 files changed, 12 insertions, 3 deletions
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 |
