Skip to content

Commit

Permalink
Init smb conn with version 3
Browse files Browse the repository at this point in the history
  • Loading branch information
faf-bot committed Oct 12, 2024
1 parent 5d5f5c6 commit 8d27d2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions machines/prod3/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@
device = "//u280176.your-storagebox.de/backup";
fsType = "cifs";
options = let
automount_opts = "_netdev,x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.mount-timeout=5s,seal,uid=1002,gid=1000";
automount_opts = "_netdev,x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.mount-timeout=5s,seal,uid=1002,gid=1000,vers=3.0";
in ["${automount_opts},credentials=/etc/nixos/secrets/bx10-secrets"];
};

fileSystems."/opt/faf/data/replays-old" = {
device = "//u308453.your-storagebox.de/backup/replays";
fsType = "cifs";
options = let
automount_opts = "_netdev,x-systemd.idle-timeout=60,x-systemd.mount-timeout=20s,seal,uid=1002,gid=1000";
automount_opts = "_netdev,x-systemd.idle-timeout=60,x-systemd.mount-timeout=20s,seal,uid=1002,gid=1000,vers=3.0";
in ["${automount_opts},credentials=/etc/nixos/secrets/bx11-secrets"];
};

Expand Down

0 comments on commit 8d27d2a

Please sign in to comment.