summaryrefslogtreecommitdiff
path: root/parts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-11-08 16:39:12 -0800
committerFuwn <[email protected]>2024-11-08 16:39:12 -0800
commitf82754f39eef6cde94e249ff913a63bcb0fa622f (patch)
tree0039e57f2957aa0521da4b1530042db0775e7ef1 /parts
parentlock: tsutsumi (diff)
downloadnixos-config-f82754f39eef6cde94e249ff913a63bcb0fa622f.tar.xz
nixos-config-f82754f39eef6cde94e249ff913a63bcb0fa622f.zip
just: add path variable to restore task
Diffstat (limited to 'parts')
-rw-r--r--parts/just.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/parts/just.nix b/parts/just.nix
index 509d2ff..c7a78a7 100644
--- a/parts/just.nix
+++ b/parts/just.nix
@@ -27,8 +27,8 @@
commit message:
git add . && git commit -m "{{message}}"
- restore:
- git restore --staged . && git restore .
+ restore path='.':
+ git restore --staged {{path}} && git restore {{path}}
deploy hostname user='root' ip=hostname:
git add . && nixos-rebuild \