17 Commits
Author SHA1 Message Date
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
Jörg Thalheim bec6e3cde9 examples: rename vdb -> main 2024-07-19 19:33:40 +00:00
Aleksander Heintz 72bc152626 add btrfs swap support 2023-11-08 22:36:40 +00:00
Jörg Thalheim 2b523b58e6 use M instead MiB suffix everywhere
This seems to do better alignment
2023-09-27 06:02:50 +00:00
rogarb f44564a744 fix(btrfs): update BTRFS example
This takes into account the fix from commit 7f3b98f.
2023-07-27 08:55:04 +00:00
lassulus 4fa29318f6 examples: set EF00 partition types 2023-07-20 19:03:26 +02:00
lassulus 04452cfd2b tests: refactor to not use args and to use gpt type 2023-07-19 19:07:40 +00:00
lassulus 49888aeb90 example.btrfs_subvolumes: 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
lassulus 6d630b8fe4 turn all extraArgs into lists 2023-02-14 10:07:22 +01: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
Lily Foster 77c8f6460f types: add btrfs_subvol type 2022-12-23 20:27:47 +01: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
lassulus dcb0c42857 reimplement disko using the nixos type system
This should make the code cleaner, more robust and errors should be
clearer. we also changed the configuration format a bit.
2022-09-02 11:14:58 +02:00
lassulus 81e704b638 add btrfs subvolumes 2022-08-25 23:31:05 +02:00