summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/bare-metal.nix3
-rw-r--r--satoshipad.nix8
2 files changed, 11 insertions, 0 deletions
diff --git a/modules/bare-metal.nix b/modules/bare-metal.nix
index 04046b1b..969848bb 100644
--- a/modules/bare-metal.nix
+++ b/modules/bare-metal.nix
@@ -10,4 +10,7 @@
   ];
 
   boot.kernelPackages = pkgs.linuxPackages_4_12;
+
+  fileSystems."/".options = [ "noatime" "nodiratime" ];
+  fileSystems."/home".options = [ "noatime" "nodiratime" ];
 }
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";