From 8d1cc559f96025ec2273b890c11da49d3d25ef29 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Tue, 12 Dec 2023 12:39:29 +0100 Subject: [PATCH] Add nixos-rebuild helper script this scripts sets the NIXOS_CONFIG to the one in the project --- nixos-rebuild.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 nixos-rebuild.sh diff --git a/nixos-rebuild.sh b/nixos-rebuild.sh new file mode 100755 index 0000000..997a6d2 --- /dev/null +++ b/nixos-rebuild.sh @@ -0,0 +1,2 @@ +NIXOS_CONFIG="$(pwd)/configuration.nix" +nixos-rebuild $@