From 684e0838848943d48f29a9fa8ca0dfa4c74f43a1 Mon Sep 17 00:00:00 2001 From: smayzy Date: Sat, 1 Nov 2025 14:17:47 +0100 Subject: [PATCH] add nfs mounts on desktop1 --- hosts/desktop1/configuration.nix | 19 +++++++++++++++++++ hosts/desktop1/hardware-configuration.nix | 1 + 2 files changed, 20 insertions(+) diff --git a/hosts/desktop1/configuration.nix b/hosts/desktop1/configuration.nix index c23f8c3..58f8c3b 100644 --- a/hosts/desktop1/configuration.nix +++ b/hosts/desktop1/configuration.nix @@ -24,6 +24,25 @@ age.identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; + fileSystems."/home/smayzy/Main" = { + device = "nfs-srv1.internal.smayzy.ovh:/srv/NFS/Main"; + fsType = "nfs"; + options = [ "x-systemd.automount" "noauto" "nfsvers=4" ]; + depends = [ "/home" ]; + }; + fileSystems."/home/smayzy/ISO" = { + device = "nfs-srv1.internal.smayzy.ovh:/srv/NFS/ISO"; + fsType = "nfs"; + options = [ "x-systemd.automount" "noauto" "nfsvers=4" ]; + depends = [ "/home" ]; + }; + fileSystems."/home/smayzy/Vault" = { + device = "nfs-srv1.internal.smayzy.ovh:/srv/NFS/Vault"; + fsType = "nfs"; + options = [ "x-systemd.automount" "noauto" "nfsvers=4" ]; + depends = [ "/home" ]; + }; + smayzy = { desktop.enable = true; nvidia.enable = true; diff --git a/hosts/desktop1/hardware-configuration.nix b/hosts/desktop1/hardware-configuration.nix index c29363f..47272f0 100644 --- a/hosts/desktop1/hardware-configuration.nix +++ b/hosts/desktop1/hardware-configuration.nix @@ -43,6 +43,7 @@ fileSystems."/home" = { device = "/dev/disk/by-uuid/30759de4-934a-4c89-aca5-2e4fed7fe94f"; fsType = "ext4"; + neededForBoot = true; }; swapDevices = [