diff options
author | Patryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou> | 2024-09-29 18:07:06 +0200 |
---|---|---|
committer | Patryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou> | 2024-09-29 18:07:06 +0200 |
commit | 97bbafe3cd95c720daad07dc675a9387ea7eba6b (patch) | |
tree | 8a483c410c597eb47ab10bc1610737c5623adaba /rebuild/rebuild.sh | |
parent | af1a1f5d226b346de4a7ee4b920ffd0239b308f2 (diff) | |
download | dots-97bbafe3cd95c720daad07dc675a9387ea7eba6b.tar.gz dots-97bbafe3cd95c720daad07dc675a9387ea7eba6b.zip |
18 current 2024-09-29 18:07:04 24.05.20240928.fbca5e7 6.6.52 *
Diffstat (limited to 'rebuild/rebuild.sh')
-rwxr-xr-x | rebuild/rebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rebuild/rebuild.sh b/rebuild/rebuild.sh index 3244ed7..9738dd3 100755 --- a/rebuild/rebuild.sh +++ b/rebuild/rebuild.sh @@ -34,7 +34,7 @@ git diff -U0 '*' echo "NixOS Rebuilding..." # Rebuild, output simplified errors, log trackebacks -(sudo nixos-rebuild switch --flake $DIR/flake.nix 2>&1 | tee nixos-switch.log) || (cat nixos-switch.log | grep --color error && exit 1) +sudo nixos-rebuild switch --flake $DIR/flake.nix 2>&1 | tee nixos-switch.log # Get current generation metadata current=$(nixos-rebuild list-generations | grep current) |