flake: nixos: use 'nixpkgs.hostPlatform'
Some checks failed
ci/woodpecker/push/check Pipeline failed

This is the proper way to set `system` nowadays.
This commit is contained in:
Bruno BELANYI 2025-05-07 17:25:28 +02:00
parent a9ba93f834
commit 07d8f5a03f

View file

@ -15,8 +15,10 @@ let
];
buildHost = name: system: lib.nixosSystem {
inherit system;
modules = defaultModules ++ [
{
nixpkgs.hostPlatform = system;
}
"${self}/hosts/nixos/${name}"
];
specialArgs = {