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 | b04c3a87f2b04680aee9430f60a6c81a7501a67b (patch) | |
tree | f8f0607c0cc3dd99136da750364d7cba6605aafc | |
parent | 2f58f18af7812f6da5e02969965e33aa50002111 (diff) |
tv nomic: modernize luks config
-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 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. |