summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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;