books: no longer mount remote books directory
This commit is contained in:
parent
b6a1f3d1b2
commit
df4c5e2313
1 changed files with 0 additions and 9 deletions
9
t470.nix
9
t470.nix
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue