aboutsummaryrefslogtreecommitdiff
path: root/modules/nixos/des/hyprland.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-02-02 16:53:37 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-02-02 16:53:37 +0100
commit4f2cbc30a8a76508a0e704998a12c41dd5fb38e5 (patch)
tree8ad8d9425138a7c998093948df737427b9c755b0 /modules/nixos/des/hyprland.nix
parent6ce2da4fb803c9a6b27b256d69f9792838512895 (diff)
fixed an error in hyprland.nix
Diffstat (limited to 'modules/nixos/des/hyprland.nix')
-rw-r--r--modules/nixos/des/hyprland.nix15
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