1

Update container bind mounts

This commit is contained in:
2023-07-13 14:23:35 +02:00
parent f46d59c123
commit 9ab0cbd91e
2 changed files with 19 additions and 9 deletions

View File

@ -53,6 +53,16 @@
in ["${automount_opts},credentials=/home/christoph/samba.login"];
};
fileSystems."/media/Usenet" = {
device = "//192.168.86.100/Usenet";
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=/home/christoph/samba.login"];
};
swapDevices = lib.mkForce [
# {
# device = "/var/swap";