No dns mullvad
This commit is contained in:
parent
c48405716c
commit
928ebc9edf
3 changed files with 27 additions and 3 deletions
|
|
@ -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" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue