mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Update helper fixes
This commit is contained in:
parent
92bc667104
commit
c84698069a
1 changed files with 4 additions and 1 deletions
|
|
@ -28,7 +28,9 @@ let
|
|||
'';
|
||||
nf-update = pkgs.writeShellScriptBin "nf-update" ''
|
||||
nix flake update
|
||||
nix flake lock ./trusted --update-input trusted
|
||||
if [[ -n $TRUSTED ]]; then
|
||||
nix flake lock ./trusted --update-input trusted
|
||||
fi
|
||||
'';
|
||||
in
|
||||
with lib; pkgs.mkShell {
|
||||
|
|
@ -36,6 +38,7 @@ with lib; pkgs.mkShell {
|
|||
inetutils
|
||||
nf-actions
|
||||
nf-actions-test
|
||||
nf-update
|
||||
] ++ config.runners.lazy.nativeBuildInputs
|
||||
++ (map
|
||||
(node: writeShellScriptBin "${node.networking.hostName}-sd-img" ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue