summaryrefslogtreecommitdiffstats
path: root/tv/1systems/nomic/config.nix
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
commit670f6ac480fda3ac232bfeac467d7bdb7c81d344 (patch)
treeb98346e5b9fe762762b774dff984dc779b16efab /tv/1systems/nomic/config.nix
parent09c8cddd46bcf10bd182ce32be61dee27ba8e865 (diff)
tv nomic: modernize luks config
Diffstat (limited to 'tv/1systems/nomic/config.nix')
-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 86f9b7ec2..cd8988d05 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.