Commit graph

75 commits

Author SHA1 Message Date
Felix Uhl
2bd9c4f8c7 dev,docs: Improve and document DX with Python 2024-11-10 18:48:35 +01:00
Felix Uhl
389235b63f disko2: Create package
This requires a lot of restructuring. The .nix files have to be bundled
together with the python files, so they need to follow python's module
system structure.

I ran `nix-fast-build --no-link -j 2 --eval-workers 3 --flake .#checks`
and it succeeded, so I'm reasonably confident I changed everything as
required.
2024-10-30 23:54:41 +01: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
NAHO
6095c996e1 docs: uniformly replace 'bash' tags with 'console' 2023-12-25 19:32:46 +00:00
NAHO
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
c7f594c2ab doc: add experimental flags to examples
fixes https://github.com/nix-community/disko/issues/459
2023-12-06 22:51:30 +00:00