From ae5b3c17d47b4cd564be4ea61acaeac7fb66043e Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sat, 11 Sep 2021 22:55:03 -0400 Subject: [PATCH] vscode support for home-manager --- .vscode/tasks.json | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index e7b2664..31c95b0 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -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", diff --git a/README.md b/README.md index 054e298..4f3e9e2 100644 --- a/README.md +++ b/README.md @@ -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: Ctrl+Shift+B will run `sudo nixos-rebuild switch`. +VSCode note: Ctrl+Shift+B will run effectuate the new configuration (by running `make`). ## Non-NixOS