From 8ae780cf2689a0e62718fe0dcc8b80e584f68d23 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 7 Jun 2020 11:05:26 +0200 Subject: [PATCH] tv wu: modernize luks config --- tv/1systems/wu/config.nix | 4 +--- 1 file changed, 1 insertion(+), 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 ; boot.initrd.luks = { cryptoModules = [ "aes" "sha512" "xts" ]; - devices = [ - { name = "wuca"; device = "/dev/sda2"; } - ]; + devices.wuca.device = "/dev/sda2"; }; fileSystems = {