From 09e620c79b70e495e9651e8e5c1b160dd1b5fb8d Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 2 Jun 2020 23:32:15 +0200 Subject: [PATCH] tv xu: modernize luks config --- tv/1systems/xu/config.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tv/1systems/xu/config.nix b/tv/1systems/xu/config.nix index 33f9539c9..503142b96 100644 --- a/tv/1systems/xu/config.nix +++ b/tv/1systems/xu/config.nix @@ -113,9 +113,7 @@ with import ; boot.initrd.luks = { cryptoModules = [ "aes" "sha512" "xts" ]; - devices = [ - { name = "xuca"; device = "/dev/sda2"; } - ]; + devices.xuca.device = "/dev/sda2"; }; fileSystems = {