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

42
flake.lock generated
View file

@ -110,11 +110,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1761583935, "lastModified": 1761596764,
"narHash": "sha256-vJ0ylFdPPESUCBYZvEtVmVemSp4G0WH8CbVIkboHIJs=", "narHash": "sha256-KTL+8Fw1qAbqubZSHRMjO4HkILJWVdWTylqHXQ4VTBE=",
"owner": "cachix", "owner": "cachix",
"repo": "devenv", "repo": "devenv",
"rev": "b7e3b2aeb90ce37517fb8da09ceff8ab587a9fcf", "rev": "17560d064ba5e4fc946c0ea0ee7b31ec291e706f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -131,11 +131,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1761547629, "lastModified": 1761633962,
"narHash": "sha256-4OH1CVm2PdjKRqEJ3RLfkQMDSBdn7VId6iyYCwKOK+U=", "narHash": "sha256-QTA706q3zDi9yN7bwsOnj2cQj8FVi9x147A/2lR495U=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "d82a7c64ea441e397914577c9a18f2867e5b364b", "rev": "abecdc70faee6ef5abf8b250795042a0cbe7070f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -683,11 +683,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1761572054, "lastModified": 1761601789,
"narHash": "sha256-NuDXgcyWa9EfQZXs+7mXKTimzlxEdLV0kJR6gGcFU/8=", "narHash": "sha256-F8HDu+xAZ2GhYRZPTMbFgXfA6VI7pN95juP3/llCKx8=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "560c53d87dedf7df8185eb370cfbf3575826e85c", "rev": "309c3c78485781a28ad9f5bef48b09ecb3b81473",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1072,11 +1072,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1761542689, "lastModified": 1761623016,
"narHash": "sha256-l4TQRcQyp6hoUVQL/R4UBHvYX9whHTntaz5NxHi0PH4=", "narHash": "sha256-C2+TErNmeHMCtodwVrMeA/uJg1GRdQbOntRI7DFullA=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "75768e54ca2591bb0be17fa310992628e5efce2d", "rev": "f0bfe0aaaa51378ace7492850290f8d2db6cc7f3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1447,11 +1447,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1761500479, "lastModified": 1761606039,
"narHash": "sha256-syeBTCCU96qPJHcVpwHeCwmPCiLTDHHgYQYhpZ0iwLo=", "narHash": "sha256-rNsxpCKWzVNJ5FR71mpZFSEPxuvZfAQzcVpgfwgajQU=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "049767e6faa84b2d1a951d8f227e6ebd99d728a2", "rev": "7c810e9994eff5b2b7a78ab0a656948c1e8dbf18",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1661,11 +1661,11 @@
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1761422250, "lastModified": 1761622056,
"narHash": "sha256-+pN8VAh8OVUSj8zPoI8QfC93JMIKPaAOABrbeeiO/Hk=", "narHash": "sha256-fBrUszJXmB4MY+wf3QsCnqWHcz7u7fLq0QMAWCltIQg=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "2dd40ecfe882c1659e0e46c761974702c7ab5fde", "rev": "0728d59ff6463a502e001fb090f6eb92dbc04756",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1726,11 +1726,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1761562676, "lastModified": 1761592723,
"narHash": "sha256-yREsDfqZ7JIC2hxQm94DQfNCyhm/KPdxWd3IVJ6zJ2s=", "narHash": "sha256-7MMLpYL/EF3wqHIt7Fl3uQJZH1Vvtvgnd24WFpnBzdQ=",
"owner": "zigtools", "owner": "zigtools",
"repo": "zls", "repo": "zls",
"rev": "67177e3d64b8ab0f358303ee6ed4bac4654e2fdb", "rev": "8b2754ad49006e70cdbd29c1d57ffb0a2889b836",
"type": "github" "type": "github"
}, },
"original": { "original": {

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" = {
};
}