From baf822379961770373a09e42df3b4e20041f2abf Mon Sep 17 00:00:00 2001 From: James Eversole Date: Sat, 1 Jul 2023 16:10:22 -0500 Subject: [PATCH] Convert dedicated disk to nix store; add noatime option for mounting and require for boot --- system/hardware.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system/hardware.nix b/system/hardware.nix index 0fcdcbd..76a4e8d 100644 --- a/system/hardware.nix +++ b/system/hardware.nix @@ -19,9 +19,11 @@ fsType = "ext4"; }; - "/mnt/data" = { + "/nix" = { device = "/dev/disk/by-label/SDA-EXT"; fsType = "ext4"; + neededForBoot = true; + options = [ "noatime" ]; }; "/boot" = {