We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f30089 commit 3df1967Copy full SHA for 3df1967
modules/build-tarball.nix
@@ -68,7 +68,7 @@ in
68
--substituters ""
69
70
echo "[NixOS-WSL] Adding channel..."
71
- nixos-enter --root "$root" --command 'nix-channel --add https://github.com/nix-community/NixOS-WSL/archive/refs/heads/main.tar.gz nixos-wsl'
+ nixos-enter --root "$root" --command 'HOME=/root nix-channel --add https://github.com/nix-community/NixOS-WSL/archive/refs/heads/main.tar.gz nixos-wsl'
72
73
echo "[NixOS-WSL] Adding default config..."
74
install -Dm644 ${defaultConfig} "$root/etc/nixos/configuration.nix"
0 commit comments