diff options
| author | Alex Griffin <a@ajgrf.com> | 2021-10-13 10:08:39 -0500 |
|---|---|---|
| committer | Alex Griffin <a@ajgrf.com> | 2021-10-13 10:08:39 -0500 |
| commit | 7b80b7ee832b5b471ab92a24b9edc30cb5b149f5 (patch) | |
| tree | 3d9509732e71fcc8f39981e8213f6b2064550adc /configuration.nix | |
| parent | fa0feea616359c7b2b98bd478978b9ed975d7a2a (diff) | |
Add Windows %PATH% to Linux $PATH
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix index 6d19de0..1253f83 100644 --- a/configuration.nix +++ b/configuration.nix @@ -13,6 +13,9 @@ in # WSL is closer to a container than anything else boot.isContainer = true; + # Include Windows %PATH% in Linux $PATH. + environment.extraInit = ''PATH="$PATH:$WSLPATH"''; + environment.etc.hosts.enable = false; environment.etc."resolv.conf".enable = false; |
