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
commit4dbed8bfab522b7b2bbb0f16ca695588ed054ab3 (patch)
tree315612f88f65692e9c40db75f894ae0d14b20eae
parent3d29789420e35df28dae751111e0807e3669eb07 (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 4c491d6..d4114f0 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 = {