aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/unflake.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-28 17:27:39 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-28 17:27:39 +0100
commit3c48cde7f249d354dbba6235d8d70ff4e4eb3293 (patch)
tree4e772782b77d41c33c0152437db78a615b16c217 /scripts/unflake.sh
parent{flake,hosts/default}: Use deploy-rs again (diff)
downloadnixos-server-3c48cde7f249d354dbba6235d8d70ff4e4eb3293.zip
flake: Switch inputs over to unflake
[`unflake`](https://codeberg.org/goldstein/unflake) allows prefect input de-dedulication and also gives us in general more control over which inputs exist and where they are fetched from.
Diffstat (limited to '')
-rwxr-xr-xscripts/unflake.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/unflake.sh b/scripts/unflake.sh
new file mode 100755
index 0000000..faaa533
--- /dev/null
+++ b/scripts/unflake.sh
@@ -0,0 +1,9 @@
+#! /usr/bin/env sh
+
+set -e
+
+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