hydra: add hydrajobs to flake-parts

This commit is contained in:
Christoph Hollizeck 2025-10-28 10:39:44 +01:00
parent 02b0930313
commit 551c5e01d1
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
5 changed files with 64 additions and 21 deletions

View file

@ -34,4 +34,14 @@ in
}
))
];
flake.hydraJobs =
let
self = inputs.self;
in
{
# hosts = lib.mapAttrs (_: cfg: cfg.config.system.build.toplevel) self.outputs.nixosConfigurations;
packages = self.packages;
shells = lib.filterAttrs (name: shell: name == "x86_64-linux") self.devShells;
};
}

View file

@ -0,0 +1,11 @@
{
config,
...
}:
let
in
{
flake.modules.nixos."hosts/loptland" = {
};
}

View file

@ -0,0 +1,11 @@
{
config,
...
}:
let
in
{
flake.modules.nixos."hosts/nixberry" = {
};
}

View file

@ -0,0 +1,11 @@
{
config,
...
}:
let
in
{
flake.modules.nixos."hosts/wsl" = {
};
}