vscode support for home-manager

This commit is contained in:
Sridhar Ratnakumar 2021-09-11 22:55:03 -04:00
parent cbddd4b812
commit ae5b3c17d4
2 changed files with 3 additions and 3 deletions

4
.vscode/tasks.json vendored
View file

@ -7,8 +7,8 @@
"label": "Build System",
"type": "shell",
// TODO: Run in tmux (for those cases which kills X server)
"command": "sudo",
"args": ["nixos-rebuild", "switch"],
"command": "make",
"args": [],
"problemMatcher": [],
"group": {
"kind": "build",

View file

@ -3,7 +3,7 @@ This repository contains the Nix / NixOS configuration for all of my systems. St
- `home.nix`: Only install things that are needed in all platforms (VMs, VPS, WSL2, etc.)
- `flake.nix`: Install things I need natively on NixOS desktop & laptop computers
VSCode note: <kbd>Ctrl+Shift+B</kbd> will run `sudo nixos-rebuild switch`.
VSCode note: <kbd>Ctrl+Shift+B</kbd> will run effectuate the new configuration (by running `make`).
## Non-NixOS