summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-06-07 11:05:26 +0200
committertv <tv@krebsco.de>2020-06-07 11:05:26 +0200
commit8ae780cf2689a0e62718fe0dcc8b80e584f68d23 (patch)
tree0d1d2a1ea65d0114892f14cca215748aac185361
parent156105623451f5749c43ced91318a088ed38f0eb (diff)
tv wu: modernize luks config
-rw-r--r--tv/1systems/wu/config.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/tv/1systems/wu/config.nix b/tv/1systems/wu/config.nix
index 4c491d65b..d4114f00a 100644
--- a/tv/1systems/wu/config.nix
+++ b/tv/1systems/wu/config.nix
@@ -18,9 +18,7 @@ with import <stockholm/lib>;
boot.initrd.luks = {
cryptoModules = [ "aes" "sha512" "xts" ];
- devices = [
- { name = "wuca"; device = "/dev/sda2"; }
- ];
+ devices.wuca.device = "/dev/sda2";
};
fileSystems = {