Add disk configuration
Alan Pearce alan@alanpearce.eu
Sat, 09 Sep 2017 16:35:14 +0200
2 files changed, 11 insertions(+), 0 deletions(-)
M modules/bare-metal.nix → modules/bare-metal.nix
@@ -10,4 +10,7 @@ usbutils ]; boot.kernelPackages = pkgs.linuxPackages_4_12; + + fileSystems."/".options = [ "noatime" "nodiratime" ]; + fileSystems."/home".options = [ "noatime" "nodiratime" ]; }
M satoshipad.nix → satoshipad.nix
@@ -31,6 +31,14 @@ ./modules/passwords.nix ./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";