books: no longer mount remote books directory

This commit is contained in:
Khaïs COLIN 2025-01-03 18:14:28 +01:00
parent b6a1f3d1b2
commit df4c5e2313

View file

@ -15,15 +15,6 @@
networking.hostName = "t470"; # Define your hostname. networking.hostName = "t470"; # Define your hostname.
fileSystems."/home/khais/Books" = {
device = "//void/Books";
fsType = "cifs";
options = let
# prevent hanging when network is not reachable
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/secrets/books.smb"];
};
# scanner drop point # scanner drop point
services.vsftpd = { services.vsftpd = {
enable = true; enable = true;