diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-28 17:27:39 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-28 17:27:39 +0100 |
| commit | 3c48cde7f249d354dbba6235d8d70ff4e4eb3293 (patch) | |
| tree | 4e772782b77d41c33c0152437db78a615b16c217 /scripts/unflake.sh | |
| parent | {flake,hosts/default}: Use deploy-rs again (diff) | |
| download | nixos-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-x | scripts/unflake.sh | 9 |
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 |
