mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
chore: adds sample code for when i finally add ci/cd
This commit is contained in:
parent
601954e47e
commit
4d84ef14b6
1 changed files with 28 additions and 10 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
{ lib, pkgs, config, ... }:
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.services.forgejo;
|
cfg = config.services.forgejo;
|
||||||
srv = cfg.settings.server;
|
srv = cfg.settings.server;
|
||||||
|
|
@ -35,6 +40,19 @@ in
|
||||||
};
|
};
|
||||||
# mailerPasswordFile = config.age.secrets.forgejo-mailer-password.path;
|
# mailerPasswordFile = config.age.secrets.forgejo-mailer-password.path;
|
||||||
};
|
};
|
||||||
|
# gitea-actions-runner = {
|
||||||
|
# package = pkgs.forgejo-runner;
|
||||||
|
# instances.my-forgejo-instance = {
|
||||||
|
# enable = true;
|
||||||
|
# name = "forgejo-01";
|
||||||
|
# token = ""; # TODO: fill in tokens etc
|
||||||
|
# url = "https://code.liv.town";
|
||||||
|
# labels = [
|
||||||
|
# "node-22:docker://node:22-bookworm"
|
||||||
|
# "nixos-latest:docker://nixos/nix"
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
services = {
|
services = {
|
||||||
nginx.virtualHosts."code.liv.town" = {
|
nginx.virtualHosts."code.liv.town" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue