From 112c101c7308ddd710d0936ad8d1c010ae0dfb28 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 29 Nov 2024 07:10:07 +0100 Subject: refactor: make configuration.nix main entry point --- nixos/rebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/rebuild') 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 -- cgit v1.2.3