diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-12-26 05:59:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-26 05:59:33 +0100 |
commit | f3bbdaf04e217095551dfd2cfdec95131ee0a839 (patch) | |
tree | b9f009494026ba76c7cf863e6a73b043a13aafcb /build.sh | |
parent | Fix error (diff) | |
download | Rory-Open-Architecture-f3bbdaf04e217095551dfd2cfdec95131ee0a839.tar.xz |
Update build.sh
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh index a04888b..a9e040b 100755 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ if [ "$1" = "/" ]; then git rm --cached hardware-configuration.nix exit else - nixos-generate-config --show-hardware-config > hardware-configuration.nix + nixos-generate-config --show-hardware-config --root "${1}" > hardware-configuration.nix git add -f hardware-configuration.nix nixos-install --root "${1}" --flake ".#${2}" git rm --cached hardware-configuration.nix |