fix system deprecated

This commit is contained in:
müde 2026-04-13 10:21:13 +02:00
parent c87d351456
commit 61b054463d

View file

@ -175,7 +175,8 @@
overlays = { overlays = {
unstable-packages = final: prev: { unstable-packages = final: prev: {
unstable = import nixpkgs-unstable { unstable = import nixpkgs-unstable {
inherit (prev) system config; localSystem = prev.stdenv.hostPlatform;
inherit (prev) config;
}; };
}; };
}; };
@ -222,7 +223,7 @@
}; };
in in
nixpkgs.lib.nixosSystem { nixpkgs.lib.nixosSystem {
inherit system specialArgs; inherit specialArgs;
modules = [ modules = [
{ {
imports = [ imports = [
@ -234,7 +235,6 @@
]); ]);
nixpkgs = { nixpkgs = {
inherit system;
hostPlatform = lib.mkDefault system; hostPlatform = lib.mkDefault system;
}; };
} }