summary refs log tree commit diff stats
path: root/satoshipad.nix
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 16:35:14 +0200
committerAlan Pearce2017-09-09 16:49:30 +0200
commit5a4ead8db870f7c9950d092d5dd3ec1c570024f2 (patch)
tree721bd1520bea14f1d931ae975aa5b4d048660a2f /satoshipad.nix
parent0cef6aa80ff7d52afe80b7086cc3452bf020722a (diff)
downloadnixfiles-5a4ead8db870f7c9950d092d5dd3ec1c570024f2.tar.lz
nixfiles-5a4ead8db870f7c9950d092d5dd3ec1c570024f2.tar.zst
nixfiles-5a4ead8db870f7c9950d092d5dd3ec1c570024f2.zip
Add disk configuration
Diffstat (limited to 'satoshipad.nix')
-rw-r--r--satoshipad.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/satoshipad.nix b/satoshipad.nix
index 6aba5a6f..1f013def 100644
--- a/satoshipad.nix
+++ b/satoshipad.nix
@@ -31,6 +31,14 @@
     ./modules/network-manager.nix
   ];
 
+  boot.initrd.luks.devices = [
+    {
+      name = "root";
+      device = "/dev/disk/by-uuid/bb7f9a24-8963-4d00-9258-118050b35748";
+      preLVM = true;
+    }
+  ];
+
   networking.hostName = "satoshipad";
 
   system.stateVersion = "17.03";