Compare commits
No commits in common. "827c46941515c3e3a83400bbe68f412d6ed39662" and "28d82f149d296155dfaf04c9aab8ecd2ab89a871" have entirely different histories.
827c469415
...
28d82f149d
4 changed files with 32 additions and 13 deletions
|
|
@ -3,11 +3,11 @@
|
||||||
# - https://forgejo.org/docs/latest/user/actions/
|
# - https://forgejo.org/docs/latest/user/actions/
|
||||||
# - https://docs.gitea.com/next/usage/actions/act-runner
|
# - https://docs.gitea.com/next/usage/actions/act-runner
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs-unstable, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.gitea-actions-runner = {
|
services.gitea-actions-runner = {
|
||||||
package = pkgs.forgejo-runner;
|
package = pkgs-unstable.forgejo-actions-runner;
|
||||||
instances.ccchh-forgejo-global-docker = {
|
instances.ccchh-forgejo-global-docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
name = "Global Docker Forgejo Actions Runner";
|
name = "Global Docker Forgejo Actions Runner";
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,9 @@
|
||||||
},
|
},
|
||||||
"penpot": {
|
"penpot": {
|
||||||
"targetHostname": "penpot-intern.hamburg.ccc.de"
|
"targetHostname": "penpot-intern.hamburg.ccc.de"
|
||||||
|
},
|
||||||
|
"hydra": {
|
||||||
|
"targetHostname": "hydra-intern.hamburg.ccc.de"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
20
flake.lock
generated
20
flake.lock
generated
|
|
@ -19,27 +19,27 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1768621446,
|
"lastModified": 1761173472,
|
||||||
"narHash": "sha256-6YwHV1cjv6arXdF/PQc365h1j+Qje3Pydk501Rm4Q+4=",
|
"narHash": "sha256-m9W0dYXflzeGgKNravKJvTMR4Qqa2MVD11AwlGMufeE=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "72ac591e737060deab2b86d6952babd1f896d7c5",
|
"rev": "c8aa8cc00a5cb57fada0851a038d35c08a36a2bb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-25.11",
|
"ref": "nixos-25.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1768661221,
|
"lastModified": 1761349956,
|
||||||
"narHash": "sha256-MJwOjrIISfOpdI9x4C+5WFQXvHtOuj5mqLZ4TMEtk1M=",
|
"narHash": "sha256-tH3wHnOJms+U4k/rK2Nn1RfBrhffX92jLP/2VndSn0w=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3327b113f2ef698d380df83fbccefad7e83d7769",
|
"rev": "02f2cb8e0feb4596d20cc52fda73ccee960e3538",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -64,11 +64,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1768709255,
|
"lastModified": 1760998189,
|
||||||
"narHash": "sha256-aigyBfxI20FRtqajVMYXHtj5gHXENY2gLAXEhfJ8/WM=",
|
"narHash": "sha256-ee2e1/AeGL5X8oy/HXsZQvZnae6XfEVdstGopKucYLY=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "5e8fae80726b66e9fec023d21cd3b3e638597aa9",
|
"rev": "5a7d18b5c55642df5c432aadb757140edfeb70b3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
18
flake.nix
18
flake.nix
|
|
@ -5,7 +5,7 @@
|
||||||
# Use the NixOS small channels for nixpkgs.
|
# Use the NixOS small channels for nixpkgs.
|
||||||
# https://nixos.org/manual/nixos/stable/#sec-upgrading
|
# https://nixos.org/manual/nixos/stable/#sec-upgrading
|
||||||
# https://github.com/NixOS/nixpkgs
|
# https://github.com/NixOS/nixpkgs
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
|
|
||||||
# # Add nixos-generators as an input.
|
# # Add nixos-generators as an input.
|
||||||
|
|
@ -147,6 +147,7 @@
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit authorizedKeysRepo;
|
inherit authorizedKeysRepo;
|
||||||
|
inherit pkgs-unstable;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -210,6 +211,16 @@
|
||||||
./config/hosts/penpot
|
./config/hosts/penpot
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hydra = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system specialArgs;
|
||||||
|
modules = [
|
||||||
|
self.nixosModules.common
|
||||||
|
self.nixosModules.proxmox-vm
|
||||||
|
self.nixosModules.prometheus-exporter
|
||||||
|
./config/hosts/hydra
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# packages.x86_64-linux = {
|
# packages.x86_64-linux = {
|
||||||
|
|
@ -238,5 +249,10 @@
|
||||||
# };
|
# };
|
||||||
|
|
||||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
|
||||||
|
|
||||||
|
hydraJobs = {
|
||||||
|
inherit (self) packages;
|
||||||
|
nixosConfigurations = builtins.mapAttrs (name: value: value.config.system.build.toplevel) self.nixosConfigurations;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue