From edda7ef46bf2ae7fde9511005b4e7d40648c7e24 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 27 Dec 2024 08:27:03 +0100 Subject: refactor: move host configs under hosts/ --- nixos/rebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/rebuild') 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" -- cgit v1.2.3