From 09c8cddd46bcf10bd182ce32be61dee27ba8e865 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 4 Jun 2020 17:30:22 +0200 Subject: [PATCH] tv zu: modernize luks config --- tv/1systems/zu/config.nix | 4 +--- 1 file changed, 1 insertion(+), 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 ; boot.initrd.luks = { cryptoModules = [ "aes" "sha512" "xts" ]; - devices = [ - { name = "zuca"; device = "/dev/sda2"; } - ]; + devices.zuca.device = "/dev/sda2"; }; fileSystems = {