Add nix develop terminal profile

This commit is contained in:
Jaculabilis 2022-02-12 14:45:26 -08:00
parent 4ad35f4133
commit 62da5e780e
2 changed files with 18 additions and 1 deletions

8
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"terminal.integrated.profiles.linux": {
"nix develop": {
"path": "nix",
"args": ["develop"]
}
}
}

View File

@ -106,4 +106,13 @@ And when we run it through `dotnet`:
stab stab
``` ```
Neat. Neat. VS Code doesn't seamlessly work with nix, so to get the extensions working we'll need to restart it from an existing `nix develop` shell so `dotnet` is on the path. For the integrated terminal, we can creating a profile for `nix develop` and set it as the default profile.
```
"terminal.integrated.profiles.linux": {
"nix develop": {
"path": "nix",
"args": ["develop"]
}
}
```