nfsroot: cleanup

This commit is contained in:
Sandro - 2024-02-23 23:42:07 +01:00
parent da860f92d5
commit 3b4d504976
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 5 additions and 5 deletions

View File

@ -7,15 +7,15 @@ let
];
reinstallDacbert = pkgs.writeScriptBin "reinstall-dacbert" ''
SYSTEM=$(${pkgs.curl}/bin/curl -sLH "Accept: application/json" \
SYSTEM=$(${lib.getExe pkgs.curl} -sLH "Accept: application/json" \
https://hydra.hq.c3d2.de/job/c3d2/nix-config/dacbert/latest \
| ${pkgs.jq}/bin/jq -er .buildoutputs.out.path
| ${lib.getExe pkgs.jq} -er .buildoutputs.out.path
)
BOOT=$(${pkgs.curl}/bin/curl -sLH "Accept: application/json" \
BOOT=$(${lib.getExe pkgs.curl} -sLH "Accept: application/json" \
https://hydra.hq.c3d2.de/job/c3d2/nix-config/dacbert-tftproot/latest \
| ${pkgs.jq}/bin/jq -er .buildoutputs.out.path
| ${lib.getExe pkgs.jq} -er .buildoutputs.out.path
)
${config.nix.package}/bin/nix --extra-experimental-features nix-command \
${lib.getExe config.nix.package} --extra-experimental-features nix-command \
copy \
--from https://nix-cache.hq.c3d2.de \
--to /var/lib/nfsroot/dacbert \