From f3bbdaf04e217095551dfd2cfdec95131ee0a839 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 26 Dec 2022 05:59:33 +0100 Subject: Update build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1