diff --git a/hosts/service-1/default.nix b/hosts/service-1/default.nix index 517d9af..0a23c00 100644 --- a/hosts/service-1/default.nix +++ b/hosts/service-1/default.nix @@ -5,10 +5,9 @@ { ... }: { - imports = - [ - ./hardware-configuration.nix - ]; + imports = [ + ./hardware-configuration.nix + ]; fileSystems."/mnt/immich-nfs" = { device = "unas.moons14.com:/var/nfs/shared/immich"; @@ -25,4 +24,20 @@ "x-systemd.after=network-online.target" ]; }; + + fileSystems."/mnt/seafile-nfs" = { + device = "unas.moons14.com:/var/nfs/shared/seafile"; + fsType = "nfs"; + options = [ + "nfsvers=3" + "hard" + "timeo=600" + "retrans=2" + "noatime" + "_netdev" + "nofail" + "x-systemd.requires=network-online.target" + "x-systemd.after=network-online.target" + ]; + }; }