diff options
Diffstat (limited to 'nixos/rebuild')
-rwxr-xr-x | nixos/rebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/rebuild b/nixos/rebuild index 3cb086e..978dc87 100755 --- a/nixos/rebuild +++ b/nixos/rebuild @@ -4,7 +4,7 @@ set -euo pipefail # Enable all future paths in this script to be relative to the directory containing the script. cd "$(dirname -- "${BASH_SOURCE[0]}")" -configPath=$(realpath -- "$HOSTNAME-configuration.nix") +configPath=$(realpath -- "hosts/$HOSTNAME/default.nix") if [ ! -f $configPath ]; then echo "aborting: $configPath doesn't exist" |