summaryrefslogtreecommitdiffstats
path: root/tv/1systems/nomic
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-06-04 18:00:21 +0200
committertv <tv@krebsco.de>2020-06-04 18:00:21 +0200
commitb04c3a87f2b04680aee9430f60a6c81a7501a67b (patch)
treef8f0607c0cc3dd99136da750364d7cba6605aafc /tv/1systems/nomic
parent2f58f18af7812f6da5e02969965e33aa50002111 (diff)
tv nomic: modernize luks config
Diffstat (limited to 'tv/1systems/nomic')
-rw-r--r--tv/1systems/nomic/config.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/tv/1systems/nomic/config.nix b/tv/1systems/nomic/config.nix
index 86f9b7e..cd8988d 100644
--- a/tv/1systems/nomic/config.nix
+++ b/tv/1systems/nomic/config.nix
@@ -17,9 +17,7 @@ with import <stockholm/lib>;
boot.initrd.luks = {
cryptoModules = [ "aes" "sha512" "xts" ];
- devices = [
- { name = "luks1"; device = "/dev/sda2"; }
- ];
+ devices.luks1.device = "/dev/sda2";
};
# Don't use UEFI because current disk was partitioned/formatted for AO753.