From 929116c468ff3bfff13f329d316f0a7d4cae3c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlys=20Bras=20de=20fer?= Date: Sat, 5 Nov 2022 20:50:17 +0100 Subject: [PATCH] Fix wsl.conf option typo --- modules/wsl-distro.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/wsl-distro.nix b/modules/wsl-distro.nix index 87f630fb..bdfafdaf 100644 --- a/modules/wsl-distro.nix +++ b/modules/wsl-distro.nix @@ -153,7 +153,7 @@ with lib; security.sudo.extraConfig = '' Defaults env_keep+=INSIDE_NAMESPACE ''; - wsl.wslConf.users.default = "root"; + wsl.wslConf.user.default = "root"; # Include Windows %PATH% in Linux $PATH. environment.extraInit = mkIf cfg.interop.includePath ''PATH="$PATH:$WSLPATH"'';