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 + ] }; }