summaryrefslogtreecommitdiffstats
path: root/tv/1systems/zu
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-06-04 17:30:22 +0200
committertv <tv@krebsco.de>2020-06-04 17:30:22 +0200
commit2f58f18af7812f6da5e02969965e33aa50002111 (patch)
tree86a6c7697f991548b075e07e10998ab7967dffa8 /tv/1systems/zu
parent48e1ae48456d82015160fef74f548496385b40da (diff)
tv zu: modernize luks config
Diffstat (limited to 'tv/1systems/zu')
-rw-r--r--tv/1systems/zu/config.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/tv/1systems/zu/config.nix b/tv/1systems/zu/config.nix
index bbfcfaf..5a69601 100644
--- a/tv/1systems/zu/config.nix
+++ b/tv/1systems/zu/config.nix
@@ -18,9 +18,7 @@ with import <stockholm/lib>;
boot.initrd.luks = {
cryptoModules = [ "aes" "sha512" "xts" ];
- devices = [
- { name = "zuca"; device = "/dev/sda2"; }
- ];
+ devices.zuca.device = "/dev/sda2";
};
fileSystems = {