版本发布 8
## What's Changed * nixos-anywhere: don't prompt SSH agent after deployment key installed by @Enzime in https://github.com/nix-community/nixos-anywhere/pull/522 * runKexec: reduce number of ssh command needed for kexec by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/527 * quote kexec command before running it. by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/532 * Update kexec to Nixos 25.05 by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/533 * test nixos-anywhere with 25.05 by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/534 * Add Ubuntu kexec test by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/537 * also test debian/fedora with linux-kexec-test by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/538 * add missing --wait to setsid by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/540 * Add Terraform integration test for hetzner cloud by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/541 * Add integration test for Digital ocean by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/542 * kexec: make sudo optional also for actual kexec by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/545 **Full Changelog**: https://github.com/nix-community/nixos-anywhere/compare/1.10.0...1.11.0
## What's Changed * Error if --disko-mode and --store-paths are both set by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/507 * fix: `diskoMode` can be empty by @blackxored in https://github.com/nix-community/nixos-anywhere/pull/509 * Actually reboot if the reboot phase is specified by @jfly in https://github.com/nix-community/nixos-anywhere/pull/504 ## New Contributors * @blackxored made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/509 * @jfly made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/504 **Full Changelog**: https://github.com/nix-community/nixos-anywhere/compare/1.9.0...1.10.0
## What's Changed * Allow skipping system.preSwitchChecks... by @phaer in https://github.com/nix-community/nixos-anywhere/pull/478 * Add build_on_remote variable to all-in-one terraform module by @marcocondrache in https://github.com/nix-community/nixos-anywhere/pull/476 * feat: add a flag to reinstall the bootloader by @r-vdp in https://github.com/nix-community/nixos-anywhere/pull/487 * fix arguments check in deploy.sh by @asymmetric in https://github.com/nix-community/nixos-anywhere/pull/490 * fix buildOn=auto detection by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/501 * Don't create/chmod `/mnt/tmp` unless necessary by @andre4ik3 in https://github.com/nix-community/nixos-anywhere/pull/503 ## New Contributors * @marcocondrache made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/476 * @nixos-anywhere-ci made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/483 * @andre4ik3 made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/503 **Full Changelog**: https://github.com/nix-community/nixos-anywhere/compare/1.8.0...1.9.0
## What's Changed * add swapoff to reboot phase by @TilCreator in https://github.com/nix-community/nixos-anywhere/pull/421 * fix(disk-encryption-keys): ensure the target dir exists by @dudeofawesome in https://github.com/nix-community/nixos-anywhere/pull/422 * don't build disko script if disko is deselected by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/425 * terraform/nix-build.sh: prevent error on empty nix_options by @KiaraGrouwstra in https://github.com/nix-community/nixos-anywhere/pull/417 * hardware config: fix git add logic by @picnoir in https://github.com/nix-community/nixos-anywhere/pull/424 * terraform: add `var.special_args`, closes #413, supersedes #414. by @KiaraGrouwstra in https://github.com/nix-community/nixos-anywhere/pull/418 * nixos-anywhere: allow users to specify custom path NixOS configurations by @Enzime in https://github.com/nix-community/nixos-anywhere/pull/430 * Don't use sudo when uploading extraFiles by @phaer in https://github.com/nix-community/nixos-anywhere/pull/434 * nixos-anywhere: add --target-host option by @zimbatm in https://github.com/nix-community/nixos-anywhere/pull/432 * Use 24.11 release by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/435 * docs(extra-files) add howto by @sedlund in https://github.com/nix-community/nixos-anywhere/pull/440 * test that the remote system has the cpio command by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/443 * fix(nixos-generate-config): dont output carriage returns in output files by @sedlund in https://github.com/nix-community/nixos-anywhere/pull/439 ## New Contributors * @TilCreator made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/421 * @dudeofawesome made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/422 * @picnoir made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/424 **Full Changelog**: https://github.com/nix-community/nixos-anywhere/compare/1.5.0...1.6.0
## What's Changed * Generate hardware configuration with nixos-facter/nixos-generate-config by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/392 * Make disko modes configurable. by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/393 * Fix flags in nixos-generate-config examples by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/396 * nixos-anywhere: move unmount into `reboot` phase by @Enzime in https://github.com/nix-community/nixos-anywhere/pull/398 * Expose `--generate-hardware-config nixos-facter` thru terraform by @KiaraGrouwstra in https://github.com/nix-community/nixos-anywhere/pull/408 ## New Contributors * @KiaraGrouwstra made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/408 **Full Changelog**: https://github.com/nix-community/nixos-anywhere/compare/1.4.0...1.5.0
## What's Changed * add gnutar as dependency by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/331 * Add new parameter "--kexec-extra-flags" by @johbo in https://github.com/nix-community/nixos-anywhere/pull/332 * Update quickstart.md by @talbergs in https://github.com/nix-community/nixos-anywhere/pull/333 * don't attempt to export zpool if there is none by @fin444 in https://github.com/nix-community/nixos-anywhere/pull/342 * terraform/install: deal with symlinks better by @Enzime in https://github.com/nix-community/nixos-anywhere/pull/339 * Add nix option in terraform and fix run-nixos-anywhere.sh by @misumisumi in https://github.com/nix-community/nixos-anywhere/pull/310 * Fix two issues caused by recent changes by @r-vdp in https://github.com/nix-community/nixos-anywhere/pull/344 * fix incorrect user explanation by @jeremyschlatter in https://github.com/nix-community/nixos-anywhere/pull/345 * correct SSHPASS variable by @sedlund in https://github.com/nix-community/nixos-anywhere/pull/365 * get-facts: Make os-release parser more generic by @dasJ in https://github.com/nix-community/nixos-anywhere/pull/354 * Add install_port variable to all-in-one terraform module by @Exeteres in https://github.com/nix-community/nixos-anywhere/pull/355 * allow to disable/enable phases in nixos-anywhere by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/369 * refactor nixos-anywhere into methods by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/372 * Fix sshKeyDir unbound variable by @jfroche in https://github.com/nix-community/nixos-anywhere/pull/377 * terraform: fix SSH_PASS by @zimbatm in https://github.com/nix-community/nixos-anywhere/pull/374 * doc: Fix path in snippet by @asymmetric in https://github.com/nix-community/nixos-anywhere/pull/378 * make sure diskoScript is always defined by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/381 * Make ssh host optional again in vm-test by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/382 * Fixes relating to --build-on-remote by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/383 * Terraform: Use nixos-anywhere phases by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/384 * Re-invert behavior of --no-substitute-on-destination by @chreekat in https://github.com/nix-community/nixos-anywhere/pull/386 * terraform: fix typos in phase subtraction by @RafDevX in https://github.com/nix-community/nixos-anywhere/pull/388 ## New Contributors * @johbo made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/332 * @talbergs made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/333 * @fricklerhandwerk made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/335 * @fin444 made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/342 * @misumisumi made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/310 * @r-vdp made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/344 * @jeremyschlatter made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/345 * @sedlund made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/363 * @dasJ made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/354 * @Exeteres made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/355 * @asymmetric made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/378 * @chreekat made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/386 * @RafDevX made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/388 **Full Changelog**: https://github.com/nix-community/nixos-anywhere/compare/1.3.0...1.4.0
## What's Changed * src/get-facts.sh: remove the bashism by @acid-bong in https://github.com/nix-community/nixos-anywhere/pull/313 * Don't fail if .ssh/authorized_keys is missing by @fidgetingbits in https://github.com/nix-community/nixos-anywhere/pull/323 * use-without-flakes: Fix arguments of --store-paths by @OutOfCache in https://github.com/nix-community/nixos-anywhere/pull/319 * Use tar and ssh instead of rsync by @Prince213 in https://github.com/nix-community/nixos-anywhere/pull/316 * Misc fixes to --extra-files by @Prince213 in https://github.com/nix-community/nixos-anywhere/pull/327 * update default nixos kexec image to 24.05 by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/328 * reduce RAM requirements to 1GB by @Mic92 in https://github.com/nix-community/nixos-anywhere/pull/329 ## New Contributors * @Prince213 made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/314 * @acid-bong made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/313 * @fidgetingbits made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/323 * @OutOfCache made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/319 **Full Changelog**: https://github.com/nix-community/nixos-anywhere/compare/1.2.0...1.3.0
## What's Changed * Switch to root user if non-root user is used for nixos installer by @nbdd0121 in https://github.com/nix-community/nixos-anywhere/pull/293 * Support non-interactive password authentication with sshpass by @a-kenji in https://github.com/nix-community/nixos-anywhere/pull/305 * Allow installs through terraform to work on different ports by @Drakonis in https://github.com/nix-community/nixos-anywhere/pull/302 * fix bashism by @zimbatm in https://github.com/nix-community/nixos-anywhere/pull/297 * Detect IPv6 automatically, Rewrite kexec url by @mkg20001 in https://github.com/nix-community/nixos-anywhere/pull/304 ## New Contributors * @bbigras made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/292 * @nbdd0121 made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/293 * @Drakonis made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/302 * @mkg20001 made their first contribution in https://github.com/nix-community/nixos-anywhere/pull/304 **Full Changelog**: https://github.com/nix-community/nixos-anywhere/compare/1.1.2...1.2.0