add gitea action runner

This commit is contained in:
Vivian 2023-05-26 20:53:33 +02:00
parent 37ae065108
commit 5586de530a
2 changed files with 29 additions and 9 deletions

View file

@ -502,11 +502,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1685019994, "lastModified": 1685108129,
"narHash": "sha256-81o6SKZPALvib21hIOMx2lIhFSs0mRy0PfPvg0zsfTk=", "narHash": "sha256-6Jv6LxrLfaueHj095oBUKBk++eW4Ya0qfHwhQVQqyoo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d1f04b0f365a34896a37d9015637796537ec88a3", "rev": "bec196cd9b5f34213c7dc90ef2a524336df70e30",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -815,11 +815,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1685096089, "lastModified": 1685125545,
"narHash": "sha256-SviW+Iu6VDBWTI3PCo+geWIE/MGZwuB/XRczOgds/Rs=", "narHash": "sha256-eOwoViAA1nR1r3uGRmUmOuCkwg6asYx9+gHT18Hdxsk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3b99ef458237cc31434adba76ed623d07c488fe2", "rev": "23c6303e9953d9691f74d05d49399508927f5dd1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -946,11 +946,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1685082753, "lastModified": 1685121851,
"narHash": "sha256-T/EZZ12KLCV+DmTSOAZElNqIv37EGsXsrYsppSYakKY=", "narHash": "sha256-tPvAxqsM4VkPoO4QyqQxTYecv1ormqhZ+JmsUC/PUEA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "6caf1df8f14553fa9295412c13776fb83e56bd4f", "rev": "4a2a958322444e3c3156b3442872f34b38db2ac8",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -42,6 +42,26 @@ in {
allowedUDPPorts = [ 53 ]; allowedUDPPorts = [ 53 ];
allowedTCPPorts = [ 53 ]; allowedTCPPorts = [ 53 ];
}; };
services.gitea-actions-runner.instances = {
nix-native = {
enable = true;
name = "nix-native";
labels = [ "native:host" ];
url = "https://git.0x76.dev";
hostPackages = with pkgs; [
bash
coreutils
curl
gawk
gitMinimal
gnused
nodejs
wget
];
};
};
services.woodpecker-server = { services.woodpecker-server = {
enable = true; enable = true;
environment = { environment = {