From c36e1fae06c1ab0efe32664eff3e81d0464c705f Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 26 Aug 2023 10:05:13 +0000 Subject: [PATCH] i put it in the wrong option --- hosts/sakowsl/configuration.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hosts/sakowsl/configuration.nix b/hosts/sakowsl/configuration.nix index b7a198ab..5eec3ca3 100644 --- a/hosts/sakowsl/configuration.nix +++ b/hosts/sakowsl/configuration.nix @@ -18,7 +18,11 @@ wsl = { enable = true; - wslConf.automount.root = "/mnt"; + wslConf = { + automount.root = "/mnt"; + # Allows writing to linux network section in Explorer + options = "metadata,uid=1000,gid=100,umask=22,fmask=11"; + }; defaultUser = "sako"; startMenuLaunchers = true; @@ -31,9 +35,6 @@ # Enable integration with Docker Desktop (needs to be installed) # docker-desktop.enable = true; - # Allows writing to linux network section in Explorer - options = "metadata,uid=1000,gid=100,umask=22,fmask=11"; - }; users.users.sako.isNormalUser = true;