No dns mullvad

This commit is contained in:
Maxiem Geldhof 2025-10-31 20:19:49 +01:00
parent c48405716c
commit 928ebc9edf
3 changed files with 27 additions and 3 deletions

View file

@ -20,4 +20,16 @@
"config=/etc/rclone-mnt.conf"
];
};
fileSystems."/mnt/sbox2" = {
device = "//u504615.your-storagebox.de/backup";
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" ];
};
}