diff --git a/nixos/profiles/core/nix/monitor.nix b/nixos/profiles/core/nix/monitor.nix index f8ffd5f..57503f8 100644 --- a/nixos/profiles/core/nix/monitor.nix +++ b/nixos/profiles/core/nix/monitor.nix @@ -3,7 +3,7 @@ inputs, ... }: let - nom = inputs.nix-monitored.packages.${pkgs.system}.default; + nom = inputs.nix-monitored.packages.${pkgs.stdenv.hostPlatform.system}.default; in { nix.package = nom; nixpkgs.overlays = [ diff --git a/users/guanranwang/darwin/profiles/opt-in/clash-meta-client.nix b/users/guanranwang/darwin/profiles/opt-in/clash-meta-client.nix index 26e151f..d27f219 100644 --- a/users/guanranwang/darwin/profiles/opt-in/clash-meta-client.nix +++ b/users/guanranwang/darwin/profiles/opt-in/clash-meta-client.nix @@ -27,5 +27,5 @@ in { }; # Web interface - environment.etc."clash-meta/metacubexd".source = inputs.self.packages.${pkgs.system}.metacubexd; + environment.etc."clash-meta/metacubexd".source = inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.metacubexd; } diff --git a/users/guanranwang/home-manager/applications/fcitx5/default.nix b/users/guanranwang/home-manager/applications/fcitx5/default.nix index 66ec09f..e10168c 100644 --- a/users/guanranwang/home-manager/applications/fcitx5/default.nix +++ b/users/guanranwang/home-manager/applications/fcitx5/default.nix @@ -10,7 +10,7 @@ fcitx5-chinese-addons #fcitx5-rime ]) - ++ (with inputs.berberman.packages.${pkgs.system}; [ + ++ (with inputs.berberman.packages.${pkgs.stdenv.hostPlatform.system}; [ fcitx5-pinyin-moegirl fcitx5-pinyin-zhwiki ]); diff --git a/users/guanranwang/home-manager/applications/hyprland/default.nix b/users/guanranwang/home-manager/applications/hyprland/default.nix index 0d71085..cf2114b 100644 --- a/users/guanranwang/home-manager/applications/hyprland/default.nix +++ b/users/guanranwang/home-manager/applications/hyprland/default.nix @@ -24,7 +24,7 @@ wayland.windowManager.hyprland = { enable = true; enableNvidiaPatches = true; - #plugins = with inputs.hyprland-plugins.packages.${pkgs.system}; [ + #plugins = with inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}; [ # csgo-vulkan-fix #]; diff --git a/users/guanranwang/home-manager/applications/spotify/spicetify.nix b/users/guanranwang/home-manager/applications/spotify/spicetify.nix index b8d3bf4..72bc354 100644 --- a/users/guanranwang/home-manager/applications/spotify/spicetify.nix +++ b/users/guanranwang/home-manager/applications/spotify/spicetify.nix @@ -3,7 +3,7 @@ inputs, ... }: let - spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default; + spicePkgs = inputs.spicetify-nix.packages.${pkgs.stdenv.hostPlatform.system}.default; in { # import the flake's module for your system imports = [inputs.spicetify-nix.homeManagerModule]; diff --git a/users/guanranwang/nixos/profiles/opt-in/clash-meta-client/default.nix b/users/guanranwang/nixos/profiles/opt-in/clash-meta-client/default.nix index 1740f7f..208034e 100644 --- a/users/guanranwang/nixos/profiles/opt-in/clash-meta-client/default.nix +++ b/users/guanranwang/nixos/profiles/opt-in/clash-meta-client/default.nix @@ -8,7 +8,7 @@ enable = true; package = pkgs.clash-meta; configFile = config.sops.templates."clash.yaml".path; - webui = inputs.self.packages.${pkgs.system}.metacubexd; + webui = inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.metacubexd; }; ### sops-nix