diff options
author | Martin Fischer <martin@push-f.com> | 2024-12-27 08:27:03 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2024-12-27 13:02:48 +0100 |
commit | edda7ef46bf2ae7fde9511005b4e7d40648c7e24 (patch) | |
tree | 69f22f3b10650db1e658c5ead0edd397371bf7b5 /nixos/rebuild | |
parent | a38027b74258a984dd959d6558440bf3078e336e (diff) |
refactor: move host configs under hosts/
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" |