From a056244dd8da75f5b95a60098d024f45293c89e5 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Fri, 18 Apr 2025 14:58:38 +0200 Subject: [PATCH] fix package panel Former-commit-id: 6ce19fb66330698651c7a65d6365c876653e41c6 --- home/system/hyprland/default.nix | 5 ++--- nixos/hyprland.nix | 5 ++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/home/system/hyprland/default.nix b/home/system/hyprland/default.nix index c03bcf8..7b7cb85 100644 --- a/home/system/hyprland/default.nix +++ b/home/system/hyprland/default.nix @@ -53,9 +53,8 @@ in { "--all" ]; # https://wiki.hyprland.org/Nix/Hyprland-on-Home-Manager/#programs-dont-work-in-systemd-services-but-do-on-the-terminal }; - package = inputs.hyprland.packages."${pkgs.system}".hyprland; - portalPackage = - inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; + package = null; + portalPackage = null; settings = { "$mod" = "SUPER"; diff --git a/nixos/hyprland.nix b/nixos/hyprland.nix index 4104f72..f58bbde 100644 --- a/nixos/hyprland.nix +++ b/nixos/hyprland.nix @@ -1,6 +1,9 @@ -{ +{ inputs, pkgs, ... }: { programs.hyprland = { enable = true; withUWSM = true; + package = inputs.hyprland.packages."${pkgs.system}".hyprland; + portalPackage = + inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; }; }