From 616d180d4cb924ac606cc0205d1424e5893458f1 Mon Sep 17 00:00:00 2001 From: sstent Date: Fri, 24 Feb 2023 11:48:53 -0500 Subject: [PATCH] sync --- hosts/wsl2/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 = {