summaryrefslogtreecommitdiffstats
path: root/tv/1systems
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-06-04 20:26:53 +0200
committertv <tv@krebsco.de>2020-06-04 20:26:53 +0200
commit156105623451f5749c43ced91318a088ed38f0eb (patch)
tree9247c930699d90e87233bd3fd1810656707b6b86 /tv/1systems
parent14fb6c5c5558fe5cb461ea8df307640148bd8512 (diff)
tv alnus: modernize luks config
Diffstat (limited to 'tv/1systems')
-rw-r--r--tv/1systems/alnus/config.nix6
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";
};
};