From b10e770358a1446a7a7aced2d378b4a95c5aa48b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 13 Apr 2021 20:28:15 -0400 Subject: [PATCH] hosts/ao: add NFS mount to NAS For backups --- hosts/ao/hardware-configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/ao/hardware-configuration.nix b/hosts/ao/hardware-configuration.nix index 587f031a..2a77977a 100644 --- a/hosts/ao/hardware-configuration.nix +++ b/hosts/ao/hardware-configuration.nix @@ -24,6 +24,14 @@ device = "/dev/disk/by-label/boot"; fsType = "vfat"; }; + "/usr/drive" = { + device = "kiiro:/volume1/homes/hlissner/Drive/backup/ao"; + fsType = "nfs"; + options = [ + "nofail" "noauto" "noatime" "x-systemd.automount" "x-systemd.idle-timeout=5min" + "nodev" "nosuid" "noexec" + ]; + }; }; swapDevices = [{ device = "/dev/disk/by-label/swap"; }]; }