fix: use hostPlatform instead of deprecated system options
This commit is contained in:
@@ -63,11 +63,11 @@
|
||||
specialArgs = {inherit inputs stateVersion user dotsDir;};
|
||||
in
|
||||
nixpkgs.lib.nixosSystem {
|
||||
inherit system specialArgs;
|
||||
|
||||
inherit specialArgs;
|
||||
modules =
|
||||
[
|
||||
{
|
||||
nixpkgs.hostPlatform = system;
|
||||
networking.hostName = hostName;
|
||||
}
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
modules ? [],
|
||||
}:
|
||||
home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = import nixpkgs {inherit system;};
|
||||
pkgs = import nixpkgs {hostPlatform = system;};
|
||||
inherit modules;
|
||||
extraSpecialArgs = {inherit inputs stateVersion user dotsDir;};
|
||||
};
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
inputs.bettersoundcloud.packages.${system}.default
|
||||
inputs.bettersoundcloud.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
|
||||
gimp
|
||||
aseprite
|
||||
|
||||
@@ -8,7 +8,7 @@ in {
|
||||
imports = [spicetify-nix.homeManagerModules.default];
|
||||
|
||||
programs.spicetify = let
|
||||
spicePkgs = spicetify-nix.legacyPackages.${pkgs.system};
|
||||
spicePkgs = spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||
in {
|
||||
enable = true;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
ageFiles;
|
||||
in {
|
||||
home.packages = with inputs; [
|
||||
agenix.packages."${pkgs.system}".default
|
||||
agenix.packages."${pkgs.stdenv.hostPlatform.system}".default
|
||||
];
|
||||
|
||||
age = {
|
||||
|
||||
Reference in New Issue
Block a user