From 0ca262d1e331ba3f6a75fc85c9f5d485d03f74a1 Mon Sep 17 00:00:00 2001 From: Patrick Menking Date: Tue, 17 Sep 2024 17:37:58 -0400 Subject: [PATCH] Hyprcursor maybe? --- modules/hypr/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/hypr/default.nix b/modules/hypr/default.nix index 3815801..1d36ae0 100644 --- a/modules/hypr/default.nix +++ b/modules/hypr/default.nix @@ -8,12 +8,14 @@ portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland; }; - config.environment.systemPackages = lib.mkIf config.hypr.enable with pkgs; - [ - hyprcursor - ] - config.environment.sessionVariables = lib.mkIf config.hypr.enable { - NIXOS_OZONE_WL = "1"; + config.environment = lib.mkIf config.hypr.enable { + sessionVariables = { + NIXOS_OZONE_WL = "1"; + }; + systemPackages = with pkgs; + [ + hyprcursor + ] }; }