DavHau
58cd832497
lvm_vg: fix size=100% leading to crash
...
lvcreate -l does not accept a '100%' parameter which currently leads to a crash. THis change automatically changes `100%` to `100%FREE` leading to the intended behavior.
2024-10-26 11:42:42 +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
Jörg Thalheim
bec6e3cde9
examples: rename vdb -> main
2024-07-19 19:33:40 +00:00
Felix Buehler
548962c50b
luks: use allowDiscards option
2023-11-04 12:09:41 +00:00
Jörg Thalheim
78fba3983d
make boot large enough in tests
...
100M is not enough and I see people just copying examples without putting in any extra thoughts
https://github.com/TUM-DSE/doctor-cluster-config/pull/368
2023-09-27 06:19:07 +00:00
Jörg Thalheim
b32f0e2876
apply treefmt
2023-08-11 08:45:46 +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
arch
7eb0940839
add additionalKeyFiles option to luks
2023-07-14 08:51:17 +00:00
rogarb
68eb09b183
feat(luks): Add settings submodule
...
The settings submodule mirrors the options which can be set for
boot.initrd.luks.devices.<name>.
The keyFile option is now deprecated and should be declared under settings.
2023-07-13 09:17:50 +00:00
lassulus
8b43938cf7
luks-lvm: document secret.key newline
2023-04-30 14:00:14 +02:00
lassulus
654ecb386e
types lvm_vg: inline lvm_lv type
2023-04-07 18:50:18 +02: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
Linus Heckemann
0577409d12
luks: rename extraArgs to extraFormatArgs, add extraOpenArgs
2023-03-21 19:43:42 +01:00
Lily Foster
71a30f9e74
types: pass through mountOptions to _config for all types
2022-12-23 17:43:40 +01:00
lassulus
e0ce5fb75f
examples: use default cryptsetup parameters
2022-12-04 13:31:43 +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
dadc491330
add lvm raid
2022-08-25 23:31:05 +02:00
lassulus
dd99e29edc
fix cryptsetup luksOpen idempotency, add luks-lvm test
2022-08-25 15:32:09 +02:00