From 808b864055f96fb821f44074325153028022ede4 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Wed, 1 Nov 2023 12:05:02 +0000 Subject: [PATCH] Don't mount a separate share for torrents. --- hosts/common/cifs-client.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/hosts/common/cifs-client.nix b/hosts/common/cifs-client.nix index 9b91901..8ddcb4e 100644 --- a/hosts/common/cifs-client.nix +++ b/hosts/common/cifs-client.nix @@ -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";