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 Thalheim
804ab2de77
treewide: reformat with nix fmt
2024-06-09 06:40:59 +00:00
Aaron Adams
fd95f40929
Fix typo in reference.md
2024-05-12 16:18:13 +08:00
Jörg Thalheim
39de9e8cca
move disko-images to its own chapter
2024-04-29 17:05:43 +02:00
Qubasa
9f5d4e45cd
nix fmt
2024-04-29 14:57:02 +00:00
Dennis Værum
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 Thalheim
7d25dc74c5
docs: clarify generated image names
2024-03-11 11:27:55 +01:00
Jörg Thalheim
714768a174
docs: expand diskoImagesScript example
2024-03-11 09:40:38 +01:00
NAHO
1b19111387
docs: uniformly replace 'bash' tags with 'console'
...
Reverts: 9abffdda13
2023-12-25 19:32:46 +00:00
NAHO
44e97d4197
docs: uniformly replace 'console' tags with 'bash'
...
Reverts: ca8e85652d
2023-12-25 19:32:46 +00:00
NAHO
6095c996e1
docs: uniformly replace 'bash' tags with 'console'
2023-12-25 19:32:46 +00:00
NAHO and Jörg Thalheim
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
NAHO
b814f6b555
docs: standardize code blocks
2023-12-25 19:32:46 +00:00
Jörg Thalheim
89fd5b51f0
docs/reference: fixup headings
2023-11-11 20:23:15 +00:00
Jörg Thalheim and Janik
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 H
8759b5bf0a
docs: add make-disk-image
2023-11-11 20:23:15 +00:00
Jörg Thalheim
9ab96378f8
reformat tree
2023-09-17 04:43:25 +00:00
Jörg Thalheim
ea3e29fe7d
update command line reference
2023-09-17 04:43:25 +00:00
JillThornhill
bd18ca94bd
Create reference.md
...
Moved some stuff from original README in here; still needs some editing
2023-06-05 10:16:44 +02:00