96 Commits
Author SHA1 Message Date
luojiyin f1bcd0707b docs: fix typo in table to gpt guide 2026-03-05 12:13:07 +08:00
luojiyin bc23e2e89c docs: fix typo in interactive vm guide 2026-03-05 12:13:07 +08:00
luojiyin d17b956f94 docs: fix typos in disko-images 2026-03-05 12:12:09 +08:00
fidgetingbitsandMichael Hoang d307bf82e1 docs: typo in testing 2025-12-10 00:31:19 +00:00
crasmandMichael Hoang aecba248f9 Correct npins import example 2025-11-25 22:47:59 +00:00
diffyandJörg Thalheim f64ab1525b docs: add recursive method for fetching flake input out paths
The previous example would not work for flakes that have inputs with inputs of their own, leading to installation failures when attempting to install without internet access
2025-08-18 06:45:23 +00:00
Jörg ThalheimandJörg Thalheim aba0ae38df fix evaluation of disko-images example 2025-05-08 09:07:26 +00:00
Jörg ThalheimandJörg Thalheim b5cfd59e9a fix documentation on booting disko inside a VM
fixes https://github.com/nix-community/disko/issues/1018
2025-05-08 09:07:26 +00:00
nothingnessesandlassulus c5140c6079 Improve testing documentation 2025-04-23 00:57:01 +00:00
Gabriel NütziandJörg Thalheim ddbe63d43e chore: small improvements in interactive-vm.md 2025-04-01 16:14:41 +00:00
Anton MosichandMichael Hoang 15dbf8cebd docs: fix typo 2025-02-18 01:25:49 +00:00
Jörg ThalheimandJörg Thalheim af4a580628 docs/disko-images: fix codeblocks 2025-02-17 11:30:27 +00:00
danjujanandJörg Thalheim dc4687a53d docs: disko-images: add binfmt section 2025-02-17 11:30:27 +00:00
Brian LiandJörg Thalheim eb0e21b33b Fix typos 2025-02-15 15:32:17 +00:00
Peter BittnerandGitHub f275b06323 Fix minor typo 2025-01-12 20:29:17 +01:00
provokateurin 5be012e917 fix: Apply umask=0077 to /boot partition in all examples 2025-01-06 20:23:33 +01:00
samularityandGitHub ff6e596353 fix new logo in quickstart.md 2024-11-27 22:20:52 +01:00
Jörg Thalheim dd3d2a5e93 fix offline installation 2024-11-08 08:33:11 +01:00
Jörg ThalheimandGitHub 60d4914b98 Merge pull request #842 from nix-community/write-scripts-to-bin-dir
outputs: make compatible with nix run and package lists
2024-11-08 06:57:04 +01:00
raexeraandmergify[bot] f3f8254fcc docs: fix inconsistent disko-install cmd 2024-11-08 00:35:09 +00:00
Felix Uhl 94bc0f5bb0 mode destroy: Add confirmation dialogue
The new confirmation dialogue is only shown for the new outputs
introduced in the previous commits. The existing outputs do not change
behavior to keep backwards compatibility.

Fixes #725
2024-11-06 21:16:18 +01:00
Felix Uhl daca7be309 outputs: make compatible with nix run and package lists
This adds new outpus like `format` and `formatNoDeps` which
are compatible with `nix run` so you can do something like

    nix run .#nixosConfigurations.myhostname.config.system.build.formatNoDeps

as originally intended in #78, or add disko to your configuration like

    environment.systemPackages = [
        config.system.build.format
        config.system.build.mount
        config.system.build.destroyFormatMount
    ];

as mentioned in #454.

Fixes part of #454
Supersedes #78

It also deprecates mode `disko` in favor of the clearer
`destroy,format,mount` and adds `format,mount` to allow easier in-place
updates.
2024-11-06 21:16:18 +01:00
Felix Uhlandmergify[bot] 856a290215 docs: Remove non-existing flag
Oversight from d106aa7a3d2857e38c6122a32879a9cb158f7d16
2024-11-04 20:24:33 +00:00
Felix Uhlandmergify[bot] d7d57edb72 docs: Add docs for contributors
Fixes #334
2024-10-16 17:27:36 +00:00
qbisiandmergify[bot] 3b778f10eb docs: add docs on how to use imageName in disk type. 2024-10-14 16:16:13 +00:00
TomandGitHub ed8323704a fixed logo suffix in INDEX.md 2024-10-12 21:22:11 +03:00
Roberto Abdelkader Martínez Pérezandmergify[bot] bdbdb725d6 fix: wrong attr path
Fixes a wrong attribute path in the documentation.
2024-10-11 23:01:02 +00:00
Felix Uhlandmergify[bot] c7ef3964b6 docs: add "latest" tag to flake references
This ensures that people will always use the latest release, not just
whatever the current master is.
2024-10-11 15:14:56 +00:00
Jörg Thalheimandmergify[bot] 48ebb57785 docs/interactive-vms: simplify usage to just one nix run 2024-10-05 06:23:52 +00:00
Tom CassadyandGitHub 1b17d96ac5 Grammar update on disko-install.md
Small typo fix going from "than" --> "then"
2024-10-03 13:32:50 -04:00
Felix Uhlandmergify[bot] fa0c181a83 docs: Fix grammar in offline installer
Fixes #607
2024-10-02 12:20:33 +00:00
Felix Uhlandmergify[bot] da8f49246c docs: Fix /boot security hole warning in examples
The alternative would be to do this automatically if format=="vfat" and
mountpoint=="/boot", but it's better to be upfront about this.

Fixes #527
2024-10-02 08:12:14 +00:00
Felix Uhl 72c867c439 Run nix fmt 2024-09-26 15:36:54 +02:00
zeroxandmergify[bot] b1d6bed240 interactive-vm: use host pkgs in the launcher script. 2024-09-23 13:23:58 +00:00
lassulus 49b22d486c delete old logo 2024-09-23 12:21:55 +02:00
Jörg Thalheim 3646c27805 update project logo
fixes https://github.com/nix-community/disko/issues/781
2024-09-19 21:57:32 +02:00
Michael Hoangandmergify[bot] 88b015b9eb make-disk-image: fix spelling for --help 2024-09-17 14:02:43 +00:00
Michael Hoangandmergify[bot] d52ca37645 docs: rename vdb -> main 2024-09-17 14:02:43 +00:00
Michael Hoang ba66c22ec1 Add virtualisation.vmVariantWithDisko option 2024-09-09 16:06:20 +10:00
5715bc02df Update docs/interactive-vm.md
Co-authored-by: Paul Haerle <hello@phaer.org>
2024-08-20 17:13:58 +02:00
lassulus a574d68d37 module: add vmWithDisko output to system 2024-08-01 13:00:08 +02:00
lassulus 6208b31a73 nix fmt 2024-07-21 16:44:30 +02:00
Jörg Thalheimandmergify[bot] 1bbdb06f14 update quickstart to use templates from disko-templates 2024-06-09 06:40:59 +00:00
Jörg Thalheimandmergify[bot] 804ab2de77 treewide: reformat with nix fmt 2024-06-09 06:40:59 +00:00
Jörg Thalheimandmergify[bot] 7fc7009c89 docs/disko-images: drop non-existing flag
fixes https://github.com/nix-community/disko/issues/664
2024-06-05 08:06:42 +00:00
Jörg Thalheimandmergify[bot] b106b5df36 also link gpt migration guide in the manual 2024-06-03 11:58:45 +00:00
Martin Weineltandmergify[bot] 0274af4c92 Update table-to-gpt migration guide
- Generalize examples to be independent of ZFS
- Reduce indent of examples to focus on the relevant bits
- Add explicit migration steps, pre- and postconditions
2024-05-31 17:37:13 +00:00
lassulus a77fb7dde9 add table-to-gpt migration guide 2024-05-30 21:28:52 +02:00
Jörg Thalheim f321bc4723 add diskoScript.drvPath for offline installations 2024-05-29 12:37:19 +02:00
Aaron AdamsandGitHub fd95f40929 Fix typo in reference.md 2024-05-12 16:18:13 +08:00