diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..2e3e8df --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,21 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Rebuild", + "type": "shell", + "command": "./scripts/rebuild.sh", + "presentation": { + "reveal": "always", + "panel": "new", + "focus": true, + "showReuseMessage": false + }, + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} \ No newline at end of file diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh new file mode 100755 index 0000000..9ce096b --- /dev/null +++ b/scripts/rebuild.sh @@ -0,0 +1,2 @@ +#! /bin/sh +sudo nixos-rebuild switch --flake . \ No newline at end of file