disko-install: don't copy channel

Since we use flakes, channels have no buisness.
This is consistent with nixos-anywhere.
This commit is contained in:
Jörg Thalheim 2024-06-28 16:03:26 +02:00 committed by mergify[bot]
parent 115311bc39
commit 423b86a7f7

View file

@ -240,7 +240,7 @@ main() {
NIX_STATE_DIR=${mountPoint}/nix/var/nix nix-store --load-db < "${closure_info}/registration" NIX_STATE_DIR=${mountPoint}/nix/var/nix nix-store --load-db < "${closure_info}/registration"
fi fi
nixos-install --no-root-password --system "$nixos_system" --root "$mountPoint" nixos-install --no-channel-copy --no-root-password --system "$nixos_system" --root "$mountPoint"
} }
main "$@" main "$@"