diff --git a/hosts/wsl2/default.nix b/hosts/wsl2/default.nix index f912fa7..d3527d0 100644 --- a/hosts/wsl2/default.nix +++ b/hosts/wsl2/default.nix @@ -42,11 +42,7 @@ fileSystems."/mnt/Public" = { device = "//192.168.1.109/Public"; 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"]; - in ["${automount_opts}"]; + options = "uid=0,gid=1000" }; systemd.services.nixs-wsl-systemd-fix = {