Describe the bug
I have recently begun exploring nixos-anywhere and encountered an error. The example configuration provided in this repository is linked in the quickstart section. Unfortunately, this configuration leads to an error when used with the latest version of disko.
error: The option `disko.devices.disk."/dev/sda".content.partitions."[definition 1-entry 2]".content._pkgs' is read-only, but it's set multiple times. Definition values:
- In `/nix/store/6b90nww6znqp29mg4zzap8rz6z75kwnn-source/lib/types/mdraid.nix': <function>
- In `<unknown-file>': <function>
To Reproduce
Steps to reproduce the behavior:
Use this flake with the most recent version of disko (for example, run nix flake update).
Run nix run github:numtide/nixos-anywhere -- --flake .#hetzner-cloud --vm-test as indicated in the quickstart.
Expected Behavior
The quickstart should provide a functional example, meaning this configuration should work with the latest versions of disko.
Additional context
The example given in the README of nixos-anywhere seems to encounter the same error.
The issue has been sorted with commit 00ac90f39181cf3614f6f4f1df2c7b9f741474c7, and it's running like a charm now. Thanks a lot to @Mic92 for tackling the problem!
Describe the bug I have recently begun exploring nixos-anywhere and encountered an error. The example configuration provided in this repository is linked in the quickstart section. Unfortunately, this configuration leads to an error when used with the latest version of disko.
To Reproduce
Steps to reproduce the behavior:
nix flake update
).nix run github:numtide/nixos-anywhere -- --flake .#hetzner-cloud --vm-test
as indicated in the quickstart.Expected Behavior The quickstart should provide a functional example, meaning this configuration should work with the latest versions of disko.
Additional context The example given in the README of nixos-anywhere seems to encounter the same error.