ops/nixos: add systemPathJSON
This is a file which contains a mapping of system name to their store path, to allow for easier retrieval from GCS.
This commit is contained in:
parent
133781b342
commit
9df7818dc5
2 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@ let
|
||||||
twitterchiver-archiver = depot.go.twitterchiver.archiver;
|
twitterchiver-archiver = depot.go.twitterchiver.archiver;
|
||||||
twitterchiver-archiver-docker = depot.go.twitterchiver.archiver.dockerImage;
|
twitterchiver-archiver-docker = depot.go.twitterchiver.archiver.dockerImage;
|
||||||
twitternuke = depot.go.twitternuke;
|
twitternuke = depot.go.twitternuke;
|
||||||
|
systemPathJSON = depot.ops.nixos.systemPathJSON;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
pkgs.linkFarm "ci" (ciMachines ++ ciPackages ++ ciWindows ++ ciGrafanaPlugins ++ ciDocker ++ ciWeb ++ ciOther)
|
pkgs.linkFarm "ci" (ciMachines ++ ciPackages ++ ciWindows ++ ciGrafanaPlugins ++ ciDocker ++ ciWeb ++ ciOther)
|
||||||
|
|
|
@ -65,4 +65,6 @@ in systemDrvs // {
|
||||||
tailscaleIPs = systemTailscaleIPs;
|
tailscaleIPs = systemTailscaleIPs;
|
||||||
|
|
||||||
netboot = netbootSystem.config.system.build.pixiecore;
|
netboot = netbootSystem.config.system.build.pixiecore;
|
||||||
|
|
||||||
|
systemPathJSON = builtins.toFile "systems.json" (builtins.toJSON systems);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue