summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-04-30 13:16:30 +0200
committerAlan Pearce2020-04-30 13:16:30 +0200
commit50cbac0738cba1e7a09e78a83182609f34488a2b (patch)
tree264611bf51d15150a262778cd1f4bfc84ac2dc61
parent9e403ba23ce8361d96142658d486b0f05d3adcf7 (diff)
downloadnixfiles-50cbac0738cba1e7a09e78a83182609f34488a2b.tar.lz
nixfiles-50cbac0738cba1e7a09e78a83182609f34488a2b.tar.zst
nixfiles-50cbac0738cba1e7a09e78a83182609f34488a2b.zip
satoshipad: fix luks loaOf deprecation warning
-rw-r--r--system/satoshipad.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/satoshipad.nix b/system/satoshipad.nix
index b1daf8fd..7e8ca458 100644
--- a/system/satoshipad.nix
+++ b/system/satoshipad.nix
@@ -30,9 +30,8 @@
 
   services.throttled.enable = true;
 
-  boot.initrd.luks.devices = [
-    {
-      name = "root";
+  boot.initrd.luks.devices = {
+    root = {
       allowDiscards = true;
       device = "/dev/disk/by-uuid/bb7f9a24-8963-4d00-9258-118050b35748";
       preLVM = true;