Merge pull request 'clan: Re-add pkgsForSystem to configsPerSystem too' (#2380) from Qubasa/clan-core:Qubasa-main into main

This commit is contained in:
clan-bot
2024-11-11 16:27:28 +00:00

View File

@@ -105,12 +105,7 @@ let
name: _: name: _:
nixosConfiguration { nixosConfiguration {
inherit name system; inherit name system;
pkgs = pkgsForSystem 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};
} }
) allMachines ) allMachines
) )