mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
vscode support for home-manager
This commit is contained in:
parent
cbddd4b812
commit
ae5b3c17d4
2 changed files with 3 additions and 3 deletions
4
.vscode/tasks.json
vendored
4
.vscode/tasks.json
vendored
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue