mirror of
https://github.com/RGBCube/ncc
synced 2025-08-01 12:37:46 +00:00
Fix rebuild.nu
This commit is contained in:
parent
23ceb8e6a7
commit
6c78ce9a60
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ def main --wrapped [
|
||||||
"--log-format internal-json"
|
"--log-format internal-json"
|
||||||
] | append $arguments
|
] | append $arguments
|
||||||
|
|
||||||
if host == (hostname) {
|
if $host == (hostname) {
|
||||||
sudo sh -c $"nixos-rebuild switch ($flags | str join ' ') |& nom --json"
|
sudo sh -c $"nixos-rebuild switch ($flags | str join ' ') |& nom --json"
|
||||||
} else {
|
} else {
|
||||||
git ls-files | tar -cf - --files-from - | zstd -c3 | save --force /tmp/config.tar.zst
|
git ls-files | tar -cf - --files-from - | zstd -c3 | save --force /tmp/config.tar.zst
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue