summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-30 14:26:34 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-30 14:26:34 +0100
commit981060cf79e468da091b7bb359d19e514fa23ab1 (patch)
treeb900fec93ee6524e49c12f52c5003b128fbb10e6 /scripts
parentnotes/deploy: Add a very basic version of a deploy guide (diff)
downloadnixos-config-981060cf79e468da091b7bb359d19e514fa23ab1.zip
treewide: Align files with the same files in the `nixos-server` repo
This facilitates overlaying the two repos over each other.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/unflake.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/unflake.sh b/scripts/unflake.sh
index f916759a..faaa5336 100755
--- a/scripts/unflake.sh
+++ b/scripts/unflake.sh
@@ -2,6 +2,8 @@
set -e
-NIX_CONFIG="pure-eval = false" nix run -f https://codeberg.org/goldstein/unflake/archive/main.tar.gz unflake -- "$@"
+NIX_CONFIG="${NIX_CONFIG-pure-eval = false}"
+export NIX_CONFIG
+nix run -f https://codeberg.org/goldstein/unflake/archive/main.tar.gz unflake -- "$@"
# vim: ft=sh