nfsroot: cleanup
This commit is contained in:
parent
da860f92d5
commit
3b4d504976
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue