Don't mount a separate share for torrents.

This commit is contained in:
2023-11-01 12:05:02 +00:00
parent 8c9bd9a0a6
commit 808b864055

View File

@@ -10,15 +10,6 @@
mode = "0400";
};
fileSystems."/data/torrent" = {
device = "//fractal/torrent";
fsType = "cifs";
options = let
# this line prevents hanging on network split
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
in ["${automount_opts},credentials=/etc/nixos/smb-secrets"];
};
fileSystems."/data/media" = {
device = "//fractal/media";
fsType = "cifs";