diff options
| author | Fuwn <[email protected]> | 2024-11-08 16:39:12 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-11-08 16:39:12 -0800 |
| commit | f82754f39eef6cde94e249ff913a63bcb0fa622f (patch) | |
| tree | 0039e57f2957aa0521da4b1530042db0775e7ef1 /parts | |
| parent | lock: tsutsumi (diff) | |
| download | nixos-config-f82754f39eef6cde94e249ff913a63bcb0fa622f.tar.xz nixos-config-f82754f39eef6cde94e249ff913a63bcb0fa622f.zip | |
just: add path variable to restore task
Diffstat (limited to 'parts')
| -rw-r--r-- | parts/just.nix | 4 |
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 \ |