summaryrefslogtreecommitdiff
path: root/system/desktops/hyprland.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/desktops/hyprland.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/desktops/hyprland.nix b/system/desktops/hyprland.nix
index eb0778e..42a45be 100644
--- a/system/desktops/hyprland.nix
+++ b/system/desktops/hyprland.nix
@@ -3,6 +3,7 @@
config,
pkgs,
lib,
+ system,
...
}: let
inherit (lib) mkIf mkDefault;
@@ -13,7 +14,7 @@ in {
xdg.portal = {
extraPortals = [
- inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
+ inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland
];
config.hyprland = {
default = ["hyprland" "gtk"];
@@ -24,8 +25,8 @@ in {
programs.hyprland = {
enable = true;
- package = inputs.hyprland.packages.${pkgs.system}.hyprland;
- portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
+ package = inputs.hyprland.packages.${system}.hyprland;
+ portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
};
};
}