summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-03-19 09:01:30 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-03-19 09:01:30 +0100
commit3adc95ac8c63a0c265fb188fc2b0b6d01707ba1d (patch)
treee90299d0e71333328bba54cf0e7281dd60ef39c5
parentRemove psycopg2 passwordFile, disable draupnir (diff)
downloadRory-Open-Architecture-3adc95ac8c63a0c265fb188fc2b0b6d01707ba1d.tar.xz
Do upgrade all on rebuild
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 0a825b5..5514c7b 100755
--- a/build.sh
+++ b/build.sh
@@ -9,7 +9,7 @@ fi
 if [ "$1" = "/" ]; then
     nixos-generate-config --show-hardware-config > hardware-configuration.nix
     git add -f hardware-configuration.nix
-    nixos-rebuild switch --flake ".#${2}" -j`nproc`
+    nixos-rebuild switch --flake ".#${2}" -j`nproc` --upgrade-all
     git rm --cached hardware-configuration.nix
     exit
 else