Commit Graph

20 Commits

Author SHA1 Message Date
lassulus
f6b72bfed7 types *: make create idempotent 2024-03-13 09:58:33 +01:00
0xadk
f772d2045e luks: apply flags set in config.settings 2024-01-01 01:16:28 +00:00
Felix Buehler
548962c50b luks: use allowDiscards option 2023-11-04 12:09:41 +00:00
williamvds
4122a18340 Fix read shellcheck warning SC2162
Use `-r` to avoid mangling backslashes, use `IFS=` to not discard leading and
trailing whitespace.
2023-10-22 17:30:12 +00:00
Maximilian Bosch
e738cac18e luks: fix interactive mount
Before that it was only attempted to unlock luks with the key from
`$password`, however that variable didn't exist before.
2023-10-13 20:52:36 +00:00
lassulus
0d39ae5a5b types luks: add password prompt 2023-10-02 16:57:23 +00:00
Jörg Thalheim
b18f43a9c2 luks: don't leak secret in debug logs 2023-09-27 05:52:36 +00:00
Rudolf Vesely
8aa6ec5ff2 Changing how to open LUKS. 2023-09-15 07:39:16 +00:00
Jörg Thalheim
9de99e174c run nix-fmt 2023-09-02 18:08:41 +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
rogarb
78eee2c7b2
fix(luks): type error with keyfile size/offset 2023-07-21 23:11:32 +02: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
86e90d0fdb types luks: pass keyFile to nixos config 2023-07-10 19:04:15 +02:00
lassulus
c9c2fa9d3a lib: better formatting of generated shell output 2023-07-04 16:02:25 +00:00
lassulus
ab9b880db2 lib.types: turn _create, _mount and _config into values 2023-07-04 16:02:25 +00:00
lassulus
62f939e213 types: pass parent node to all subTypes 2023-06-16 21:11:44 +02:00
lassulus
1c31612335 lib: read types from subdir 2023-05-20 13:56:42 +02:00