diff options
author | tv <tv@krebsco.de> | 2020-06-04 20:26:53 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-06-04 20:26:53 +0200 |
commit | 156105623451f5749c43ced91318a088ed38f0eb (patch) | |
tree | 9247c930699d90e87233bd3fd1810656707b6b86 /tv | |
parent | 14fb6c5c5558fe5cb461ea8df307640148bd8512 (diff) |
tv alnus: modernize luks config
Diffstat (limited to 'tv')
-rw-r--r-- | tv/1systems/alnus/config.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tv/1systems/alnus/config.nix b/tv/1systems/alnus/config.nix index d54d5fc2f..21583f741 100644 --- a/tv/1systems/alnus/config.nix +++ b/tv/1systems/alnus/config.nix @@ -11,10 +11,8 @@ with import <stockholm/lib>; boot = { initrd = { availableKernelModules = [ "ahci" ]; - luks = { - cryptoModules = [ "aes" "sha512" "xts" ]; - devices = [ { name = "luksroot"; device = "/dev/sda2"; } ]; - }; + luks.cryptoModules = [ "aes" "sha512" "xts" ]; + luks.devices.luksroot.devices = "/dev/sda2"; }; }; |