Add nix develop terminal profile
This commit is contained in:
parent
4ad35f4133
commit
62da5e780e
8
.vscode/settings.json
vendored
Normal file
8
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"terminal.integrated.profiles.linux": {
|
||||
"nix develop": {
|
||||
"path": "nix",
|
||||
"args": ["develop"]
|
||||
}
|
||||
}
|
||||
}
|
11
README.md
11
README.md
@ -106,4 +106,13 @@ And when we run it through `dotnet`:
|
||||
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"]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user