server: gitea: remove woodpecker, enable gitea actions, prototype act vm
This commit is contained in:
parent
7ad7712610
commit
6fc873f101
@ -13,7 +13,6 @@
|
||||
[
|
||||
./postgresql.nix
|
||||
./gitea.nix
|
||||
./woodpecker.nix
|
||||
./nextcloud.nix
|
||||
./matrix.nix
|
||||
./coturn.nix
|
||||
|
@ -61,6 +61,9 @@
|
||||
REGISTER_EMAIL_CONFIRM = true;
|
||||
DISABLE_REGISTRATION = true;
|
||||
};
|
||||
actions = {
|
||||
ENABLED = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
30
modules/services/server/gitea_runner.nix
Normal file
30
modules/services/server/gitea_runner.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; # Nix Packages
|
||||
in
|
||||
{
|
||||
imports = [ <nixpkgs/nixos/modules/virtualisation/qemu-vm.nix> ];
|
||||
virtualisation = {
|
||||
podman ={
|
||||
enable = true;
|
||||
autoPrune.enable = true;
|
||||
};
|
||||
memorySize = 4096;
|
||||
diskSize = 10240;
|
||||
};
|
||||
|
||||
services.gitea-actions-runner.instances = {
|
||||
nixrunner-test = {
|
||||
enable = true;
|
||||
url = "https://git.kabtop.de";
|
||||
name = "nix_runner_test";
|
||||
#tokenFile = "./gitea_token";
|
||||
token = "vlUBkX5IbJKTBO3HAGqFM1fEOw2UqXpX87LcdJRY";
|
||||
labels = [
|
||||
"debian-latest:docker://node:18-bullseye"
|
||||
];
|
||||
};
|
||||
};
|
||||
users.users.root.initialPassword = "babablup";
|
||||
}
|
Loading…
Reference in New Issue
Block a user