Releases: nix-community/disko
v1.9.0
New minor version with some bugfixes. Most importantly, we fixed an issue that would cause config.system.build.vmWithDisko
and config.system.build.diskoImagesScript
to fail to build with the following error on nixpkgs 24.05 and older unstable versions:
error: function 'anonymous lambda' called with unexpected argument 'customQemu'
at /nix/store/lbqj1cndic4121whnx8xm0jgb1c8x4xx-source/pkgs/build-support/vm/default.nix:1:1:
Additionally:
- Whitespaces in GPT partition names are now handled correctly (#130)
size = "100%";
now works properly forlvm_vg
(#848)- Disks now support a new
imageName
option - Disko will no longer crash on Hetzner Rescue System (#815)
We now have docs that should help with contributing and testing! Check out out CONTRIBUTING.md and the pages linked within!
What's Changed
- disk-image: Fix "unexpected argument 'customQemu'" eval error by @iFreilicht in #851
- Fix whitespace handling by @iFreilicht in #841
- lvm_vg: fix size=100% leading to crash by @DavHau in #848
- options: make extraPostVM mergable. by @qbisi in #832
- Fix disko using system zfs by @iFreilicht in #835
- fix(docs): wrong attr path by @nilp0inter in #824
- fixed logo suffix in INDEX.md by @Mipsters in #828
- disko cli: fix misleading error message by @iFreilicht in #831
- disko-install: make output deterministic by @iFreilicht in #830
- swap: fix partition type by @iFreilicht in #834
- lib: Remove global
with lib;
by @iFreilicht in #836 - docs: Add docs for contributors by @iFreilicht in #837
- Fix eval on darwin by avoiding calling splitString with an empty string by @phaer in #846
- UX: be specific if disko-install failed or succeeded by @DavHau in #847
New Contributors
- @nilp0inter made their first contribution in #824
- @Mipsters made their first contribution in #828
- @qbisi made their first contribution in #832
Full Changelog: v1.8.2...v1.9.0
v1.8.2
This is a small release, only some small bugfixes and additions.
This release adds the --version
command and serves as a first test for the new release process that supports this addition.
In case you're wondering what happened to v1.8.1, it was pushed to GitHub by accident. This immediately triggered a publish on flakestry. So I just decided to skip it.
What's Changed
- lvm: add missing dm-snapshot by @Mic92 in #796
- lvm: Always add dm-snapshot when LVM is used by @r-vdp in #797
- make-disk-image: use memSize as default build-memory in diskoImagesScript by @danjujan in #801
- interactive-vm: override
forceImportRoot
by @Enzime in #803 - interactive-vm: allow to override virtualisation.memorySize by @Mic92 in #811
- interactive-vm: use host pkgs in the launcher script. by @Mic92 in #794
- Add binlore for disko and disko-install by @Jayman2000 in #795
- disko cli: remove requirement for leading ./ by @iFreilicht in #821
- disko cli: Add version command by @iFreilicht in #819
- docs: Fix /boot security hole warning in examples by @iFreilicht in #808
- docs: Fix grammar in offline installer by @iFreilicht in #807
- docs: Grammar update on disko-install.md by @heytcass in #809
- example: Luks btrfs raid example by @iFreilicht in #806 (credit to @Sk7Str1pe for the initial PR!)
New Contributors
- @heytcass made their first contribution in #809
- @iFreilicht joined the team of maintainers in #784
Full Changelog: v1.8.0...v1.8.2
v1.8.0
What's Changed
- Add
virtualisation.vmVariantWithDisko
option by @Enzime in #766 - make-disk-image: automatically add ZFS to kernel by @Enzime in #767
- make-disk-image: convert into NixOS module by @Enzime in #771
- zfs_fs: support updating mountpoint properly by @Enzime in #762
- module: always populate system.build attributes by @Enzime in #776
- update project logo by @Mic92 in #783
Full Changelog: v1.7.0...v1.8.0
v1.7.0
What's Changed
Features
- zfs: add ZFS "topology" features like explicit vdevs, cache, and special by @dmadisetti in #723
- f2fs: init by @MatthewCroughan in #740
- add interactive VMs by @Lassulus in #713
- swap: support swapDevices' discardPolicy and priority options by @muggenhor in #623 and in #632
- lvm_vg: add lvm thinpool/thinlv support by @MatthewCash in #686
- swap: mountOptions; btrfs priority, options by @nvmd in #752
Fixes
- disko: allow importing disko twice by @Mic92 in #629
- Fix xargs command not found in make-disk-image script by @danjujan in #633
- disko-install: only set NIX_STATE_DIR for load-db by @flokli in #634
- make-disk-image: make extraPostVM configurable from module.nix by @MatthewCroughan in #640
- make-disk-image: use OVMF efi always by @MatthewCroughan in #643
- add diskoScript.drvPath for offline installations by @Mic92 in #652
- add table-to-gpt migration guide by @Lassulus in #655 and by @mweinelt in #656
- cleanup host environment passed to VM for image building by @pedohorse in #639
- make-disk-image: make efi variables writeable by @Mic92 in #660
- fix option type in
mkHook
by @name-snrl in #680 - document extraRootModules better by @Lassulus in #685
- zfs: when dataset already exist, only update dataset options by @Mic92 in #689
- zfs: try to import zpool in incremental mode by @Mic92 in #691
- disko-install: don't copy channel by @Mic92 in #692
- gpt: move boot partitions to the front of disko by @Mic92 in #688
- disko: add nixos-install-tools to PATH by @beviu in #715
- make-disk-image: make pkgs, qemu and kernelPackages configurable and overridable by @MatthewCroughan in #698
- Fix options.json rendering by @SuperSandro2000 in #737 and by @Ma27 in #741
- Fix the manual by fixing string escape by @dasJ in #742
- zfs_fs: Fix errors when not changing mountpoint by @iFreilicht in #746
- swap: don't create filesystem if randomEncryption is enabled by @iFreilicht in #747
- Fix writeDashBin by @whs-dot-hk in #750
- Switch to qcow in the interactive VM to avoid hangs when using large image size. by @0x450x6c in #754
- disk-deactivate: only run zfs command if they are present by @Mic92 in #757
New Contributors
- @muggenhor made their first contribution in #623
- @fidgetingbits made their first contribution in #630
- @flokli made their first contribution in #634
- @dasJ made their first contribution in #647
- @pedohorse made their first contribution in #639
- @ginkogruen made their first contribution in #670
- @name-snrl made their first contribution in #680
- @beviu made their first contribution in #715
- @iFreilicht made their first contribution in #746
- @whs-dot-hk made their first contribution in #750
- @0x450x6c made their first contribution in #754
- @nvmd made their first contribution in #752
- @dmadisetti made their first contribution in #723
Full Changelog: v1.6.1...v1.7.0
v1.6.1
What's Changed
New Contributors
- @Prince213 made their first contribution in #626
Full Changelog: v1.6.0...v1.7.0
v1.6.0
What's Changed
Here are the relevant changes from the release notes, excluding documentation updates and dependency updates:
- disko-install: check if it runs as root by @Mic92: PR #584
- Add missing dependency gnused by @jmbaur: PR #592
- Idempotent gpt partitioning by @Lassulus: PR #595
- types btrfs: fix format without swap or subvolumes by @kira-bruneau: PR #597
- make partitions.alignment configurable by @0x4A6F: PR #598
- Use existing bash instance when running destroyScript by @jmbaur: PR #593
- Allow more ways to detect disk in /dev by @immae: PR #609
- Changed
disko.disks
todisko.devices.disk
by @dvaerum: PR #615 - disko-install: Add --system-option flag. Fix EF02 priority everywhere... by @Qubasa: PR #608
These changes focus on improvements to system functionality, bug fixes, and new features within the project's code base.
New Contributors
- @helsinki-Jo made their first contribution in #590
- @kira-bruneau made their first contribution in #597
- @bam80 made their first contribution in #612
- @immae made their first contribution in #609
- @dvaerum made their first contribution in #615
- @Qubasa made their first contribution in #608
Full Changelog: v1.5.0...v1.6.0
v1.5.0
v1.4.1
v1.4.0
What's Changed
Deprecations
Fixes
- deactivate: stop raid if disk is a member of it by @phaer in #502
- zfs: Tolerate no mountable dataset by @misumisumi in #504
- make-disk-image: umount after install and explicitly set raw format by @wfdewith in #506
- lib/types/gpt: do not hard-code alignment to 2048 sectors by @intelfx in #509
- make-disk-image: optionally include ZFS module in kernel by @wfdewith in #507
- Rework Hybrid MBR #168 by @danjujan in #508
- Prevent
disk-deactivate
from failing whendisko
is run in a systemd service by @Jayman2000 in #535 - hybrid-mbr: cleanup test, wait for udev after partitioning by @Lassulus in #539
- add assertion if mirroredBoots is used in vm test by @Mic92 in #541
- lvm_vg: add priority option by @ivan770 in #552
- types gpt: hash long device names by @Lassulus in #553
Features
New Contributors
- @raphaelr made their first contribution in #498
- @misumisumi made their first contribution in #504
- @wfdewith made their first contribution in #506
- @intelfx made their first contribution in #509
- @danjujan made their first contribution in #508
- @gehaxelt made their first contribution in #532
- @Jayman2000 made their first contribution in #535
- @ivan770 made their first contribution in #552
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's Changed
- fix broken non-flake fallback by @fricklerhandwerk in #481
- zfs: respect
canmount
by @Enzime in #487 - luks: apply flags set in
config.settings
by @0xAdk in #488 - lib/types/gpt: accept GUID type to set the partition type by @r-vdp in #491
New Contributors
- @trueNAHO made their first contribution in #479
- @0xAdk made their first contribution in #488
- @r-vdp made their first contribution in #491
Full Changelog: v1.2.0...v1.3.0