speed up machine_flake eval

This commit is contained in:
Jörg Thalheim 2023-09-06 16:03:40 +02:00
parent 41c7cb3425
commit 0108d84fe3

View File

@ -11,7 +11,12 @@
(if builtins.pathExists ./machines/machine1.json
then builtins.fromJSON (builtins.readFile ./machines/machine1.json)
else { })
{ nixpkgs.hostPlatform = "x86_64-linux"; }
{
nixpkgs.hostPlatform = "x86_64-linux";
# speed up by not instantiating nixpkgs twice and disable documentation
nixpkgs.pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
documentation.enable = false;
}
];
};
};