summaryrefslogtreecommitdiff
path: root/nixos/rebuild
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-11-29 07:10:07 +0100
committerMartin Fischer <martin@push-f.com>2024-12-11 08:32:27 +0100
commit112c101c7308ddd710d0936ad8d1c010ae0dfb28 (patch)
tree5d50d6f9ba2274b154b2be8253f16b4dddfcf63e /nixos/rebuild
parent10ef42ae9d4a60dea161bae495ec1f09c8388617 (diff)
refactor: make configuration.nix main entry point
Diffstat (limited to 'nixos/rebuild')
-rwxr-xr-xnixos/rebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/rebuild b/nixos/rebuild
index 2ee7d76..98101c1 100755
--- a/nixos/rebuild
+++ b/nixos/rebuild
@@ -3,8 +3,8 @@ set -euo pipefail
# nix-instantiate --eval has no raw mode yet
nixpkgsPath=$(nix-instantiate --eval --read-write-mode nixpkgs/path.nix | tr -d \")
-# Get the ./root.nix relative to this script
-configPath=$(realpath -- "$(dirname -- "${BASH_SOURCE[0]}")/root.nix")
+# Get the ./configuration.nix relative to this script
+configPath=$(realpath -- "$(dirname -- "${BASH_SOURCE[0]}")/configuration.nix")
# nixos-rebuild always reads Nixpkgs from the NIX_PATH,
# so we need to set it explicitly to our pinned version