diskoImagesScript: unset NIX_REMOTE

for some reason this is set and breaks running disko outside of the vm
This commit is contained in:
Jörg Thalheim authored and Jörg Thalheim committed 2025-05-08 09:07:26 +00:00
1 parent aba0ae38df
commit c7e0b00007
1 file changed
+1
+1
View File
@@ -136,6 +136,7 @@ let
installer = lib.optionalString cfg.copyNixStore ''
${binfmtSetup}
unset NIX_REMOTE
# populate nix db, so nixos-install doesn't complain
export NIX_STATE_DIR=${systemToInstall.config.disko.rootMountPoint}/nix/var/nix
nix-store --load-db < "${closureInfo}/registration"