Commit graph

79 commits

Author SHA1 Message Date
Jörg Thalheim
dd3d2a5e93 fix offline installation 2024-11-08 08:33:11 +01:00
Jörg Thalheim
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
raexera
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 Uhl
856a290215 docs: Remove non-existing flag
Oversight from d106aa7a3d
2024-11-04 20:24:33 +00:00
Felix Uhl
d7d57edb72 docs: Add docs for contributors
Fixes #334
2024-10-16 17:27:36 +00:00
qbisi
3b778f10eb docs: add docs on how to use imageName in disk type. 2024-10-14 16:16:13 +00:00
Tom
ed8323704a
fixed logo suffix in INDEX.md 2024-10-12 21:22:11 +03:00
Roberto Abdelkader Martínez Pérez
bdbdb725d6 fix: wrong attr path
Fixes a wrong attribute path in the documentation.
2024-10-11 23:01:02 +00:00
Felix Uhl
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 Thalheim
48ebb57785 docs/interactive-vms: simplify usage to just one nix run 2024-10-05 06:23:52 +00:00
Tom Cassady
1b17d96ac5
Grammar update on disko-install.md
Small typo fix going from "than" --> "then"
2024-10-03 13:32:50 -04:00
Felix Uhl
fa0c181a83 docs: Fix grammar in offline installer
Fixes #607
2024-10-02 12:20:33 +00:00
Felix Uhl
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
zerox
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 Hoang
88b015b9eb make-disk-image: fix spelling for --help 2024-09-17 14:02:43 +00:00
Michael Hoang
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
Jörg Thalheim
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 Thalheim
1bbdb06f14 update quickstart to use templates from disko-templates 2024-06-09 06:40:59 +00:00
Jörg Thalheim
804ab2de77 treewide: reformat with nix fmt 2024-06-09 06:40:59 +00:00
Jörg Thalheim
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 Thalheim
b106b5df36 also link gpt migration guide in the manual 2024-06-03 11:58:45 +00:00
Martin Weinelt
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 Adams
fd95f40929
Fix typo in reference.md 2024-05-12 16:18:13 +08:00
Jörg Thalheim
cdefe26742 load database with checksum again but do the same in disko-install 2024-05-07 08:53:10 +02: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
Qubasa
35d4378e74 Add EF02 priority=1 flag. Systems won't boot otherwise 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](a816daa384/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](a816daa384/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
Andrey Butirsky
515eae4a00
Update disko-install.md
Fixes #611
2024-04-23 15:14:37 +03:00
Jörg Thalheim
d51114dc1b document offline installation 2024-04-15 18:09:54 +00:00
Joachim Ernst
9fd80a030b docs: unify usage of disk-config.nix 2024-04-05 12:06:51 +00:00
Joachim Ernst
1bdd6edc15 docs: add npins to HowTo instructions 2024-04-05 12:00:04 +00:00
Janik H.
307365d9f9
docs: update HowTo module instructions 2024-03-24 01:27:02 +01: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
Jörg Thalheim
337abec03f make disko-install captialize 2024-03-05 09:45:10 +00:00
Jörg Thalheim
3704ee3926 add efi var install option 2024-03-05 09:45:10 +00:00
Jörg Thalheim
f61c7d28d5 add documentation for disko-install 2024-03-05 09:45:10 +00: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