summaryrefslogtreecommitdiff
path: root/nix/module.nix
diff options
context:
space:
mode:
authorCole Mickens <cole.mickens@gmail.com>2022-12-29 22:19:15 -0800
committerMihai Fufezan <fufexan@pm.me>2023-01-03 13:56:23 +0200
commit0b26b1eed68c5ece7aa6f93f3ef4df9bac9b7cdf (patch)
tree377453b453bcd0df96616cfd0b385048343f8e65 /nix/module.nix
parenta33ecec61ef4c5749a17f52b15f0e0d0722b1f3d (diff)
s/pkgs.system/pkgs.hostPlatform.system/g
Diffstat (limited to 'nix/module.nix')
-rw-r--r--nix/module.nix6
1 files changed, 3 insertions, 3 deletions
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;
};
})