Add hydraJobs to flake outputs
This commit is contained in:
parent
4eddc7fc67
commit
fe6df7942a
19
flake.nix
19
flake.nix
@ -74,7 +74,8 @@
|
|||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
inputs:
|
inputs:
|
||||||
inputs.snowfall-lib.mkFlake {
|
let
|
||||||
|
snowfallOutputs = inputs.snowfall-lib.mkFlake {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
# Must always be ./.
|
# Must always be ./.
|
||||||
src = ./.;
|
src = ./.;
|
||||||
@ -127,7 +128,9 @@
|
|||||||
# { inherit (self) nixosConfigurations; }
|
# { inherit (self) nixosConfigurations; }
|
||||||
# ];
|
# ];
|
||||||
# };
|
# };
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
# deploy-rs node configuration
|
# deploy-rs node configuration
|
||||||
deploy.nodes.pianonix = {
|
deploy.nodes.pianonix = {
|
||||||
hostname = "pianonix.local";
|
hostname = "pianonix.local";
|
||||||
@ -148,5 +151,17 @@
|
|||||||
remoteBuild = true;
|
remoteBuild = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hydraJobs = {
|
||||||
|
x86_64-linux = {
|
||||||
|
aspi = snowfallOutputs.nixosConfigurations.aspi.config.system.build.toplevel;
|
||||||
|
builder = snowfallOutputs.nixosConfigurations.builder.config.system.build.toplevel;
|
||||||
|
kardorf = snowfallOutputs.nixosConfigurations.kardorf.config.system.build.toplevel;
|
||||||
};
|
};
|
||||||
|
aarch64-linux = {
|
||||||
|
pianonix = snowfallOutputs.nixosConfigurations.pianonix.config.system.build.toplevel;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
// snowfallOutputs;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user