6 lines
282 B
Bash
Executable File
6 lines
282 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
URL="${1:?no URL given}"
|
|
|
|
nix flake metadata --json | jq -r '.locks.nodes."sp-modules".inputs | keys[]' | while read line; do nix flake lock --override-input selfprivacy-nixos-config "$URL" --override-input sp-modules/$line "${URL}&dir=sp-modules/$line"; done
|