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:
Luke Granger-Brown 2021-03-13 16:57:28 +00:00
parent 133781b342
commit 9df7818dc5
2 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,7 @@ let
twitterchiver-archiver = depot.go.twitterchiver.archiver;
twitterchiver-archiver-docker = depot.go.twitterchiver.archiver.dockerImage;
twitternuke = depot.go.twitternuke;
systemPathJSON = depot.ops.nixos.systemPathJSON;
};
in
pkgs.linkFarm "ci" (ciMachines ++ ciPackages ++ ciWindows ++ ciGrafanaPlugins ++ ciDocker ++ ciWeb ++ ciOther)

View file

@ -65,4 +65,6 @@ in systemDrvs // {
tailscaleIPs = systemTailscaleIPs;
netboot = netbootSystem.config.system.build.pixiecore;
systemPathJSON = builtins.toFile "systems.json" (builtins.toJSON systems);
}