summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix4
-rw-r--r--nix/hm-module.nix2
-rw-r--r--nix/module.nix6
3 files changed, 6 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index ca8682eb..4d0e83a5 100644
--- a/flake.nix
+++ b/flake.nix
@@ -57,8 +57,8 @@
mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];
});
- xdg-desktop-portal-hyprland = inputs.xdph.packages.${prev.system}.default.override {
- hyprland-share-picker = inputs.xdph.packages.${prev.system}.hyprland-share-picker.override {inherit hyprland;};
+ xdg-desktop-portal-hyprland = inputs.xdph.packages.${prev.hostPlatform.system}.default.override {
+ hyprland-share-picker = inputs.xdph.packages.${prev.hostPlatform.system}.hyprland-share-picker.override {inherit hyprland;};
};
};
diff --git a/nix/hm-module.nix b/nix/hm-module.nix
index fc9f6842..b6eeba8a 100644
--- a/nix/hm-module.nix
+++ b/nix/hm-module.nix
@@ -5,7 +5,7 @@ self: {
...
}: let
cfg = config.wayland.windowManager.hyprland;
- defaultHyprlandPackage = self.packages.${pkgs.system}.default.override {
+ defaultHyprlandPackage = self.packages.${pkgs.hostPlatform.system}.default.override {
enableXWayland = cfg.xwayland.enable;
hidpiXWayland = cfg.xwayland.hidpi;
nvidiaPatches = cfg.nvidiaPatches;
diff --git a/nix/module.nix b/nix/module.nix
index bb577d8e..6ddedfdc 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -8,7 +8,7 @@ inputs: {
with lib; let
cfg = config.programs.hyprland;
- defaultHyprlandPackage = inputs.self.packages.${pkgs.system}.default.override {
+ defaultHyprlandPackage = inputs.self.packages.${pkgs.hostPlatform.system}.default.override {
enableXWayland = cfg.xwayland.enable;
hidpiXWayland = cfg.xwayland.hidpi;
nvidiaPatches = cfg.nvidiaPatches;
@@ -94,8 +94,8 @@ in {
enable = mkDefault true;
# xdg-desktop-portal-hyprland
extraPortals = lib.mkIf (cfg.package != null) [
- (inputs.xdph.packages.${pkgs.system}.xdg-desktop-portal-hyprland.override {
- hyprland-share-picker = inputs.xdph.packages.${pkgs.system}.hyprland-share-picker.override {
+ (inputs.xdph.packages.${pkgs.hostPlatform.system}.xdg-desktop-portal-hyprland.override {
+ hyprland-share-picker = inputs.xdph.packages.${pkgs.hostPlatform.system}.hyprland-share-picker.override {
hyprland = cfg.package;
};
})