From 9b4adcdbf7193aa5f3cdf726384060841bbaf2b3 Mon Sep 17 00:00:00 2001 From: Thomas Syms Date: Wed, 14 Aug 2024 17:14:21 -0300 Subject: [PATCH] Continue --- home/desktops/hyprland/default.nix | 16 ++++++++++++++-- modules/hyprland.nix | 1 + 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/home/desktops/hyprland/default.nix b/home/desktops/hyprland/default.nix index 31aa17a..8b96c79 100644 --- a/home/desktops/hyprland/default.nix +++ b/home/desktops/hyprland/default.nix @@ -1,3 +1,15 @@ -{ - wayland.windowManager.hyprland.enable = true; +{pkgs, ...}: { + wayland.windowManager.hyprland = { + # Whether to enable Hyprland wayland compositor + enable = true; + # The hyprland package to use + package = pkgs.hyprland; + # Whether to enable XWayland + xwayland.enable = true; + + # Optional + # Whether to enable hyprland-session.target on hyprland startup + systemd.enable = true; + }; + # ... } diff --git a/modules/hyprland.nix b/modules/hyprland.nix index c4fd0cf..1cc2755 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -16,5 +16,6 @@ programs.hyprland = { enable = true; + xwayland.enable = true; }; }