mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
Compare commits
1
Commits
v1.10.0
...
debug-sync
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a007e6f496 |
@@ -240,6 +240,10 @@ 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
|
||||||
|
|
||||||
|
echo "Syncing filesystems" >&2
|
||||||
|
fsync "${mountPoint}"
|
||||||
|
|
||||||
|
echo "Install NixOS" >&2
|
||||||
nixos-install --no-channel-copy --no-root-password --system "$nixos_system" --root "$mountPoint"
|
nixos-install --no-channel-copy --no-root-password --system "$nixos_system" --root "$mountPoint"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user