fix: use hostPlatform instead of deprecated system options

This commit is contained in:
demenik
2025-12-16 13:46:35 +01:00
parent e5a3748579
commit d6b7fba979
4 changed files with 6 additions and 6 deletions

View File

@@ -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;};
};