From 6ac6d626df2db2ce6fc65d3a1089b99367f5fd8c Mon Sep 17 00:00:00 2001 From: Qubasa Date: Mon, 11 Nov 2024 19:50:06 +0700 Subject: [PATCH] module.nix: add better explanation --- lib/build-clan/module.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/build-clan/module.nix b/lib/build-clan/module.nix index cf2a34e54..072b16c98 100644 --- a/lib/build-clan/module.nix +++ b/lib/build-clan/module.nix @@ -107,7 +107,8 @@ let # 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 + # 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