Giel van Schijndel
8a02c0507c
swap: support swapDevices.*.discardPolicy option
2024-05-06 12:11:58 +02:00
Qubasa
35d4378e74
Add EF02 priority=1 flag. Systems won't boot otherwise
2024-04-29 14:57:02 +00:00
Kira Bruneau
79eab0e82c
types btrfs: fix format without swap or subvolumes
2024-04-08 21:37:04 +00:00
lassulus
f6b72bfed7
types *: make create idempotent
2024-03-13 09:58:33 +01:00
lassulus
561579a631
add long-device-name test & example
2024-03-04 14:55:56 +01:00
lassulus
c13d481b78
hybrid-mbr: cleanup test, wait for udev after paritioning
2024-02-17 04:06:51 +00:00
NAHO
15b52c3c8a
example: fix typo
2024-02-08 10:44:38 +01:00
danjujan
f7424625dc
Rework Hybrid MBR https://github.com/nix-community/disko/pull/168 ( #508 )
...
Add hybrid MBR functionality to the gpt type
2024-01-26 21:59:23 +01:00
Michael Hoang
583bdf4fc6
tests: check canmount
ZFS flag is respected
2024-01-01 01:09:11 +00:00
Michael Hoang
4346558fd4
tests: add test for running ZFS as not the rootfs
2023-12-19 23:49:20 +11:00
Jörg Thalheim
3cb78c93e6
swap: don't activate random encrypted swap files
...
This requires more code and is not implemented just now.
2023-11-25 15:47:29 +00:00
Andrew Marshall
2d7d77878c
Implement preMountHook & postMountHook
...
These options previously existed but had no effect. Now they are
implemented. They only affect mount during disko’s filesystem creation,
not during any later mounts.
Adding test case to existing “complex” example and test mostly because
couldn’t think of any better place to put it.
2023-11-12 09:36:50 +00:00
lassulus
01ec6024d6
example lukgs-btrfs-subvolumes: fix passwordFile location
2023-11-12 09:21:13 +00:00
Aleksander Heintz
72bc152626
add btrfs swap support
2023-11-08 22:36: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
2b523b58e6
use M instead MiB suffix everywhere
...
This seems to do better alignment
2023-09-27 06:02:50 +00:00
cvoges12
0b178c0554
b/c DOS and Windows don't like lowercase labels
2023-09-26 20:26:41 +00:00
cvoges12
34dcdbbd64
boot -> Boot for change of order
2023-09-26 20:26:41 +00:00
cvoges12
c2bdc227e4
docs: removed ESP label file
...
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-09-26 13:32:10 +00:00
cvoges12
a299a35962
removed deprecated name file from luks-btrfs-subvolumes example
...
I think this is the last name field in the examples.
2023-09-26 13:32:10 +00:00
cvoges12
d60860e4cd
Removed deprecated name field
2023-09-25 14:03:31 +00:00
lassulus
be98cffef0
example: add mdadm-raid0
2023-09-12 09:45:57 +00:00
DavHau
b755564539
examples: use zstd compression as default
2023-09-04 23:02:07 +02:00
Florian Engel
bf50636a65
Remove trialing newline in passwordFile
2023-08-16 15:19:21 +00:00
Florian Engel
3eb703b7bc
Rename keyFile to passwordFile and dedeprecate
2023-08-16 15:19:21 +00:00
Jörg Thalheim
b32f0e2876
apply treefmt
2023-08-11 08:45:46 +00:00
lassulus
491e567d47
tests: enable swraid, add luks-on-mdadm test
2023-08-10 11:03:58 +00:00
Lassulus
4aa3641e27
Merge pull request #305 from tiredofit/luks_btrfs_example
...
Create luks-btrfs-subvolumes.nix
2023-07-27 18:05:55 +02: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
Dave Conroy
6277e8ed99
Create luks-btrfs-subvolumes.nix
...
Add example for BTRFS Subvolumes inside a LUKS container
2023-07-26 18:02:33 -07:00
rogarb
66b762d3ac
docs(luks): add an example using keyFile options
2023-07-23 22:26:23 +02:00
lassulus
c3e4e625c1
examples; document EF02 type
2023-07-21 14:28:58 +02:00
lassulus
4fa29318f6
examples: set EF00 partition types
2023-07-20 19:03:26 +02:00
lassulus
e388239311
example zfs: add ESP type
2023-07-20 18:03:59 +02:00
lassulus
5ad79f43df
add legacy-table test & example
2023-07-19 19:07:40 +00:00
lassulus
04452cfd2b
tests: refactor to not use args and to use gpt type
2023-07-19 19:07:40 +00:00
lassulus
cd38be93db
tests: refactor into testlib; change config devices via fold
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
c5a31c351e
tests zfs: don't read key from prompt
2023-07-11 09:29:28 +02:00
Technofab
57622c4a68
feat(swap): add resumeDevice option which sets boot.resumeDevice
2023-07-04 21:35:38 +00:00
lassulus
15c4d57b41
example gpt-bios-compat: use new gpt type
2023-07-04 16:02:25 +00:00
lassulus
c9c2fa9d3a
lib: better formatting of generated shell output
2023-07-04 16:02:25 +00:00
lassulus
49888aeb90
example.btrfs_subvolumes: use new gpt type
2023-07-04 16:02:25 +00:00
Jörg Thalheim
4823509bb3
boot-raid1: switch to new gpt type
2023-06-19 00:33:16 +00:00
lassulus
64c9c78c15
types gpt: sort after priority. add size option
2023-06-17 19:07:36 +00:00
Jörg Thalheim
95c10a6c7f
bcachefs: migrate to new part type
2023-06-16 20:01:12 +00:00
lassulus
93632ac0ae
tests: use diskoScript output
2023-06-16 21:11:44 +02:00
lassulus
aca7f18667
example simple-efi: use table_gpt
2023-06-16 21:11:44 +02:00