diff options
author | tv <tv@krebsco.de> | 2020-06-04 18:00:21 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-06-04 18:00:21 +0200 |
commit | 670f6ac480fda3ac232bfeac467d7bdb7c81d344 (patch) | |
tree | b98346e5b9fe762762b774dff984dc779b16efab /tv/1systems | |
parent | 09c8cddd46bcf10bd182ce32be61dee27ba8e865 (diff) |
tv nomic: modernize luks config
Diffstat (limited to 'tv/1systems')
-rw-r--r-- | tv/1systems/nomic/config.nix | 4 |
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. |