clan: Re-add pkgsForSystem to configsPerSystem too

This commit is contained in:
Qubasa
2024-11-11 23:20:14 +07:00
parent 23845c7d6d
commit 20f4ca2f63

View File

@@ -105,12 +105,7 @@ let
name: _:
nixosConfiguration {
inherit name system;
# We removed pkgsForSystems because we have the problem that nixpkgs.* options are then ignored
# However our current model is to have the hardware config read and then set nixpkgs.hostPlatform automatically
# which gets ignored if we set pkgsForSystems. pkgsForSystems also needed to be set as else
# pkgs was equals to null in nixosConfiguration above which broke something else
pkgs = nixpkgs.legacyPackages.${system};
pkgs = pkgsForSystem system;
}
) allMachines
)