summaryrefslogtreecommitdiffstats
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
commit09c8cddd46bcf10bd182ce32be61dee27ba8e865 (patch)
tree355cacd94587e60c6fb02d186504d052c39bfc39
parent73e17dfed0da4a2557771f6f2274f554c03aa0fd (diff)
tv zu: modernize luks config
-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 bbfcfafc1..5a69601e9 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 = {