summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-06-02 23:32:15 +0200
committertv <tv@krebsco.de>2020-06-02 23:32:15 +0200
commit09e620c79b70e495e9651e8e5c1b160dd1b5fb8d (patch)
tree85fb2262361ad19a0e7edfbc587b2b7d5c8645f6 /tv
parent8b2a87d7e12c345246d6da439754f45a5a9f3ad0 (diff)
tv xu: modernize luks config
Diffstat (limited to 'tv')
-rw-r--r--tv/1systems/xu/config.nix4
1 files changed, 1 insertions, 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 <stockholm/lib>;
boot.initrd.luks = {
cryptoModules = [ "aes" "sha512" "xts" ];
- devices = [
- { name = "xuca"; device = "/dev/sda2"; }
- ];
+ devices.xuca.device = "/dev/sda2";
};
fileSystems = {