13 Commits
Author SHA1 Message Date
Yifei Sun c8a0e78d86 examples: gpt partition attributes
cherry-picked from https://github.com/nvmd/disko/commit/9dc58d4d49c9f74623a06e2fc20cdfd8bb3cbe8b

usage example:

- set attribute: https://github.com/nvmd/nixos-raspberrypi-demo/blob/2847963e7555fc412c1d0f37bb48c761e78f350d/disko-nvme-zfs.nix#L9L11
- check: https://github.com/nvmd/nixos-raspberrypi-demo/blob/2847963e7555fc412c1d0f37bb48c761e78f350d/flake.nix#L154L160
2025-09-07 14:37:19 +00:00
Jörg Thalheim bec6e3cde9 examples: rename vdb -> main 2024-07-19 19:33:40 +00:00
Jörg Thalheim d185770ea2 examples: drop priority as we now have a reasonable default 2024-06-30 07:50:33 +00:00
Qubasa 35d4378e74 Add EF02 priority=1 flag. Systems won't boot otherwise 2024-04-29 14:57:02 +00:00
lassulus c3e4e625c1 examples; document EF02 type 2023-07-21 14:28:58 +02:00
lassulus 04452cfd2b tests: refactor to not use args and to use gpt type 2023-07-19 19:07:40 +00:00
lassulus 15c4d57b41 example gpt-bios-compat: use new gpt type 2023-07-04 16:02:25 +00:00
lassulus d6f062ea11 types table: inline partition type 2023-04-07 18:30:56 +02:00
lassulus 769bde0834 turn disk configs into valid nixos configuration 2023-04-06 08:56:55 +02:00
Chris Scutcher ff5127ea0a style: Re-apply style normalisation
Originally this was manually applied with;

```sh
nixpkgs-fmt **.nix && statix fix
```

but I overlooked the fact that `**.nix` would only expand to files in
the root (I should have used `**/*.nix`).

Previous commit adds `nix fmt` support which passes `.` to `nixpkgs-fmt`
(if no other path is explicitly specified when running `nix fmt`).

This commit includes the changes made by running `nix fmt`.
2023-02-07 15:56:08 +00:00
lassulus 8666475b74 tests: pass lib to examples 2022-10-23 11:34:39 +02:00
lassulus 9f7f23abdb add nixos tests for disko.config, extend/fix existing tests 2022-10-02 16:41:02 +02:00
Jörg Thalheim fd2de4ddd4 fix gpt-bios-compat example and test it. 2022-09-04 12:27:59 +02:00