21 Commits
Author SHA1 Message Date
Brian LiandJörg Thalheim eb0e21b33b Fix typos 2025-02-15 15:32:17 +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
Jörg Thalheimandmergify[bot] 804ab2de77 treewide: reformat with nix fmt 2024-06-09 06:40:59 +00:00
Aaron AdamsandGitHub fd95f40929 Fix typo in reference.md 2024-05-12 16:18:13 +08:00
Jörg ThalheimandJörg Thalheim 39de9e8cca move disko-images to its own chapter 2024-04-29 17:05:43 +02:00
Qubasaandmergify[bot] 9f5d4e45cd nix fmt 2024-04-29 14:57:02 +00:00
Dennis Værumandmergify[bot] 285e26465a Changed disko.disks to disko.devices.disk
In the section `### Generating the `.raw` VM Image` in step 3.
It is written that the raw image file created is named `vdb`, but in the file [simple-efi.nix](https://github.com/nix-community/disko/blob/a816daa384dd754b7586f51157fc2e1a44e76073/example/simple-efi.nix) the first time `vdb` is mentioned is in `disko.devices.disk` not in `disko.disks` so I assumed that the file [simple-efi.nix](https://github.com/nix-community/disko/blob/a816daa384dd754b7586f51157fc2e1a44e76073/example/simple-efi.nix) was updated it the part about `disko.disks` is a mistake. Otherwise, I would really like to know what I am not understanding here 😁
2024-04-26 03:56:15 +00:00
Jörg ThalheimandJörg Thalheim 7d25dc74c5 docs: clarify generated image names 2024-03-11 11:27:55 +01:00
Jörg ThalheimandJörg Thalheim 714768a174 docs: expand diskoImagesScript example 2024-03-11 09:40:38 +01:00
NAHOandmergify[bot] 1b19111387 docs: uniformly replace 'bash' tags with 'console'
Reverts: 9abffdda130e9e3f27892979e9324baee4c17735
2023-12-25 19:32:46 +00:00
NAHOandmergify[bot] 44e97d4197 docs: uniformly replace 'console' tags with 'bash'
Reverts: ca8e85652de6bd8fb365926f75ee830dc7fb5176
2023-12-25 19:32:46 +00:00
NAHOandmergify[bot] 6095c996e1 docs: uniformly replace 'bash' tags with 'console' 2023-12-25 19:32:46 +00:00
2077e9cef2 docs(docs/reference): remove redundant '$'
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-12-25 19:32:46 +00:00
NAHOandmergify[bot] b814f6b555 docs: standardize code blocks 2023-12-25 19:32:46 +00:00
Jörg Thalheimandmergify[bot] 89fd5b51f0 docs/reference: fixup headings 2023-11-11 20:23:15 +00:00
39f8a6adc4 docs: improve make-disk-image docs using my text calculator
Co-authored-by: Janik <80165193+Janik-Haag@users.noreply.github.com>
2023-11-11 20:23:15 +00:00
Janik Handmergify[bot] 8759b5bf0a docs: add make-disk-image 2023-11-11 20:23:15 +00:00
Jörg Thalheimandmergify[bot] 9ab96378f8 reformat tree 2023-09-17 04:43:25 +00:00
Jörg Thalheimandmergify[bot] ea3e29fe7d update command line reference 2023-09-17 04:43:25 +00:00
JillThornhillandlassulus bd18ca94bd Create reference.md
Moved some stuff from original README in here; still needs some editing
2023-06-05 10:16:44 +02:00