Compare commits
No commits in common. "19824e1e679b75e3bad3bada542399f36dc116be" and "3c76d90c4dc750995dfb14b706a333196d537103" have entirely different histories.
19824e1e67
...
3c76d90c4d
2 changed files with 9 additions and 6 deletions
|
@ -8,7 +8,7 @@
|
|||
};
|
||||
openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
ports = [ 22 ];
|
||||
settings = {
|
||||
KexAlgorithms = [
|
||||
"curve25519-sha256"
|
||||
|
|
|
@ -20,6 +20,9 @@ in
|
|||
"services/forgejo/password-database".owner = config.services.forgejo.user;
|
||||
};
|
||||
|
||||
# forgejo ssh
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
|
||||
# indexer
|
||||
services.elasticsearch.enable = true;
|
||||
|
||||
|
@ -116,11 +119,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
dockerSocket.enable = true;
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
virtualisation.podman.enable = true;
|
||||
services.gitea-actions-runner = {
|
||||
package = pkgs.unstable.forgejo-runner;
|
||||
instances.main = {
|
||||
|
@ -129,6 +128,10 @@ in
|
|||
url = config.services.forgejo.settings.server.ROOT_URL;
|
||||
tokenFile = config.age.secrets."services/forgejo/runner-token".path;
|
||||
labels = [ "ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest" ];
|
||||
settings.container = {
|
||||
network = "host";
|
||||
options = "--add-host=forgejo.winston.sh:host-gateway";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue