all repos — nixfiles @ 50cbac0738cba1e7a09e78a83182609f34488a2b

System and user configuration, managed by nix and home-manager

satoshipad: fix luks loaOf deprecation warning
Alan Pearce alan@alanpearce.eu
Thu, 30 Apr 2020 13:16:30 +0200
commit

50cbac0738cba1e7a09e78a83182609f34488a2b

parent

9e403ba23ce8361d96142658d486b0f05d3adcf7

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M system/satoshipad.nixsystem/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;