Releases: nix-community/disko
v1.13.0
What's Changed
- zfs: run load-key on mount/unmount by @Mic92 in #921
- zfs-with-vdevs: add an example for using absolute device paths by @Mic92 in #924
- doc: simple xfs with options by @aos in #928
- fix: Apply umask=0077 to /boot partition in all examples by @provokateurin in #930
- export nixosModule as file by @Lassulus in #934
- install-cli: use disks from diskMappings arg for grub devices by @Lassulus in #935
- make-disk-image: fix function precedence breaks customQemu by @saviosg in #936
- Fix postVM not beeing passed when creating images by @whs-dot-hk in #923
- Fix minor typo by @bittner in #938
- fix eval of
zfs_volume's_unmountifcontentisnullby @LogicalOverflow in #941 - fix: use zfs kernel module which corresponds to user-space tools version in make-disk-image.nix by @thenhnn in #960
- lib: fix recursiveUpdate not merging lists by @Lassulus in #963
- make-disk-image: fix image script stdenv and virtiofs by @saviosg in #967
- Fix: Device dependencies not sorting correctly by @ProjectInitiative in #968
- Revert "Fix: Device dependencies not sorting correctly" by @Lassulus in #969
- make-disk-image: add binfmt emulation with native formatting by @danjujan in #970
- Add configration option for partition UUIDs by @Rua in #951
- zfs: add example for encrypted root by @DavHau in #966
- add treefmt and format all files by @DavHau in #972
- Fix typos by @brian14708 in #975
- types disk: fix deviceOrdering by @Lassulus in #974
- tests/disko-install: make faster by optimizing closure size by @DavHau in #973
- docs: disko-images: add binfmt section by @danjujan in #978
- docs: fix typo by @antonmosich in #980
- fix schellcheck warning failing build by @rszyma in #976
- Added example for swap on
zfs_volumeby @dvaerum in #986 - Disk deactivate fix by @Mic92 in #993
- Set
buildPlatformin make-disk-image by @meck in #990 - enable basic macos support by @Mic92 in #1007
- chore: small improvements in
interactive-vm.mdby @gabyx in #996 - interactive-vm: use disk.imageName instead of .name by @arachnist in #1003
- quote umount arguments correctly by @Mic92 in #1010
- disko-deactivate: fix jq syntax by @Mic92 in #1011
- udevadm settle: use timeout by @Mic92 in #1012
- UI nit: remove unnecessary newline when prompting user for password by @jfly in #1016
- Improve testing documentation by @nothingnesses in #1019
- Improve support for bcachefs by @nothingnesses in #1013
- [fix] added missing single quote in script by @tcurdt in #1023
- Make bcachefs subvolumes boot-time mount tests pass + add more bcachefs tests by @nothingnesses in #1021
- bcachefs: fix ENOENT during boot by @ProjectInitiative in #1028
- diskoImageScript: improve documentation for testing inside a VM by @Mic92 in #1031
- Add disk.destroy option by @pschmitt in #1015
- create-release: indent version.nix according to nixfmt by @Mic92 in #1033
- Fix typo by @matthiasbeyer in #1036
- only use nom-build if we write to a terminal by @Mic92 in #1041
- remove quotes from --label creation for bcachefs by @mfossen in #1050
- use fileset when building disko by @Mic92 in #1054
- CONTRIBUTING.md: add documentation on how to run tests by @Mic92 in #1055
- make-disk-image: QEUM_OPTS -> QEMU_OPTS by @sedlund in #1076
- fix: flakes support on disko standalone cli by @midischwarz12 in #1077
- allow subtype definitions to be broken up by @hgl in #1094
- docs: add recursive method for fetching flake input out paths by @different-name in #1101
- types.luks: fix password check by @Lassulus in #1105
- test build time with xcp by @Mic92 in #788
- make-disk-image: use modules output of a kernel if present by @Mic92 in #1116
- gpt: add partition attributes by @stepbrobd in #1069
- feat: add flake-parts module by @Anomalocaridid in #1120
- lib: fix
mdadmwarning when usingconfig.system.build.installTestby @Enzime in #1129 - fix: forward arguments to
vmWithDiskoby @gabyx in #1142 - gpt: trigger udev after marking hybrid mbr partitions as bootable by @sysedwinistrator in #1144
- Set kernelPackages in native builder by @zaninime in #1063
- disko-install: resolve flake store path before using getFlake by @Mic92 in #1145
- tests: use nixpkgs qemu-common for proper machine type configuration by @Mic92 in #1158
- Unmount fixes by @Bert-Proesmans in #1147
- stop using pkgs.path by @Mic92 in #1161
- Correct npins import example by @crasm in #1165
- flake: export lib with references to nixpkgs input by @wolfgangwalther in #1167
- disko-images: switch back from xcp to cp for improved stability by @Mic92 in #1166
- Add extraArgs for mdadm by @fidgetingbits in #1174
- bcachefs: fix subvolume mounting by @nothingnesses in #1058
- downgrade the priority of kernelPackages set from imageBuilder by @qbisi in #1175
- disko-install: resolve symlinks in mount point path by @Mic92 in #1178
- example: add comments as warning about legacy table type by @riotbib in #1188
- Fix update flake lock action by @nothingnesses in #1183
- scripts: avoid running
create-releasedirectly by @Enzime in #1192 - treefmt: stop using old attr by @Enzime in #1193
New Contributors
- @aos made their first contribution in #928
- @provokateurin made their first contribution in #930
- @saviosg made their first contribution in #936
- @bittner made their first contribution in #938
- @LogicalOverflow made their first contribution in #941
- @thenhnn made their first contribution in #960
- @ProjectInitiative made their first contribution in #968
- @Rua made their first contribution in #951
- @brian14708 made their first contribution in #975
- @antonmosich made their first contribution in #980
- @rszyma made their first contribution in #976
- @meck made their first contribution in #990
- @gabyx made their first contribution in #996
- @arachnist made their first contribution in #1003
- @jfly made their first contribution in #1016
- @nothingnesses made their first contribution in #1019
- @tcurdt made their first cont...
v1.12.0
Changelog v1.10.0...v1.12.0
Features
- ZFS: Added support for running load-key on mount/unmount operations (#921) #921
- ZFS: Added example for encrypted root filesystem (#966) #966
- ZFS: Added example for using absolute device paths with vdevs (#924) #924
- ZFS: Added example for swap on
zfs_volume(#986) #986 - bcachefs: Improved support for bcachefs filesystem (#1013) #1013
- bcachefs: Added subvolume boot-time mounting capabilities (#1021) #1021
- Partitioning: Added configuration option for custom partition UUIDs (#951) #951
- Images: Added binfmt emulation with native formatting for disk images (#970) #970
- Platform: Enabled basic macOS support (#1007) #1007
- Disk Management: Added disk.destroy option (#1015) #1015
Bug Fixes
- Security: Applied umask=0077 to /boot partition in all examples (#930) #930
- Installation: Fixed disk mappings for GRUB devices in install-cli (#935) #935
- Disk Images: Fixed function precedence breaking customQemu (#936) #936
- Disk Images: Fixed postVM not being passed when creating images (#923) #923
- ZFS: Fixed evaluation of
zfs_volume's_unmountwhencontentisnull(#941) #941 - ZFS: Fixed kernel module version to match user-space tools in make-disk-image (#960) #960
- lib: Fixed recursiveUpdate not properly merging lists (#963) #963
- Disk Images: Fixed image script stdenv and virtiofs support (#967) #967
- Device Management: Fixed device ordering issues (#974) #974
- Disk Images: Set proper
buildPlatformin make-disk-image (#990) #990 - Deactivation: Fixed disk deactivation process (#993) #993, Fixed quote handling for umount arguments (#1010) #1010
- bcachefs: Fixed ENOENT errors during boot (#1028) #1028
- UI: Removed unnecessary newline when prompting for password (#1016) #1016
The full changelog with all entries is available at: v1.10.0...v1.12.0
v1.11.0
What's Changed
- zfs: run load-key on mount/unmount by @Mic92 in #921
- doc: simple xfs with options by @aos in #928
- export nixosModule as file by @Lassulus in #934
- install-cli: use disks from diskMappings arg for grub devices by @Lassulus in #935
- make-disk-image: fix function precedence breaks customQemu by @saviosg in #936
- Fix postVM not beeing passed when creating images by @whs-dot-hk in #923
New Contributors
- @aos made their first contribution in #928
- @provokateurin made their first contribution in #930
- @saviosg made their first contribution in #936
- @bittner made their first contribution in #938
Full Changelog: v1.10.0...v1.11.0
v1.10.0
What's Changed
Features
- Add declarative unmount by @Mic92 in #891
- ZFS: Add log, spare & dedup vdev types, support multiple special vdevs, fix bug with mixed vdev types by @MaienM in #883
- Add extraArgs to zfs_volume. by @0x450x6c in #916
- module: expose tests.bootCommands and tests.enableOCR by @amarshall in #882
Fixes
- treewide: Fix using pkgs.{build,host}Platform alias by @amarshall in #852
- Add kmod to dependencies by @pinpox in #859
- outputs: make compatible with nix run and package lists by @iFreilicht in #842
- cli: Fix legacy aliases by @iFreilicht in #869
- destroy: Fix shellcheck warning in nixos 24.05 by @iFreilicht in #870
- lib: Fix jsonTypes evaluation by @iFreilicht in #874
- cli: Fix "attribute missing" error when using flake by @iFreilicht in #877
- fix: restore nix 2.3 compatibility by @zimbatm in #892
- disko-install: skip swap and allow dry-run without root by @Mic92 in #890
- zfs: fix mount options not beeing passed for the root dataset by @Mic92 in #895
- Fix evaluation when a GPT partition is left unformatted by @nbdd0121 in #897
- module: add default for tests.bootCommand by @Lassulus in #898
- make-disk-image: Compare against correct nixpkgs version by @iFreilicht in #906
- disk-image: Fix compatibility with nixpkgs unstable by @iFreilicht in #907
- tree-wide: Remove all uses of lib.mdDoc by @iFreilicht in #909
- make-disk-image: create directories images in out path by @Mic92 in #911
Documentation
- docs: Remove non-existing flag by @iFreilicht in #860
- docs: fix inconsistent disko-install cmd by @raexera in #863
- fix documentation for offline installation by @Mic92 in #864
- Add explanatory comment to examples/zfs-over-legacy.nix by @carschandler in #886
New Contributors
- @amarshall made their first contribution in #852
- @pinpox made their first contribution in #859
- @raexera made their first contribution in #863
- @carschandler made their first contribution in #886
- @MaienM made their first contribution in #883
- @nbdd0121 made their first contribution in #897
- @samularity made their first contribution in #901
Full Changelog: v1.9.0...v1.10.0
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
imageNameoption - 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
forceImportRootby @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.vmVariantWithDiskooption 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
mkHookby @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.diskstodisko.devices.diskby @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