Commit graph

101 commits

Author SHA1 Message Date
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
lassulus
0e942c56d7 tests: add lvm-sizes-sort test 2023-05-15 17:46:04 +02:00
lassulus
8b43938cf7 luks-lvm: document secret.key newline 2023-04-30 14:00:14 +02:00
Lassulus
6cbfde5b50
Merge pull request #196 from nix-community/types-compact 2023-04-15 15:44:33 +02:00
lassulus
7d70009c26 types: split zfs_dataset into zfs_fs & zfs_volume 2023-04-14 17:27:04 +02:00
phaer
9da50f9b9f zfs: add tests for hooks
Note that we currently need to hardcode the pool name as it isn't
exposed correctly for the subshells atm.
2023-04-10 22:52:52 +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
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
Chris Scutcher
4ba8181319
style: Disable inherit pattern check in statix
As discussed in [this
comment](https://github.com/nix-community/disko/pull/143#discussion_r1097912402),
as a blanket rule converting everything possible to `inherit` like
statements can hurt readability.

Add config file for statix to disable these checks and fixes, then rerun
the autofix with these options.
2023-02-07 15:37:12 +00:00