diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-02-20 07:00:30 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-02-21 03:31:19 +0100 |
commit | 606d121ba0b5f36f9a6419c48e6986a27ac1f5b0 (patch) | |
tree | 20527011bd419f3685b060908145ace2429ddf99 /systems/system1 | |
parent | b4655bed9ca84e44295a0c52e70b0a8483ed004b (diff) |
add abuilder service
Diffstat (limited to 'systems/system1')
-rw-r--r-- | systems/system1/configuration.nix | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/systems/system1/configuration.nix b/systems/system1/configuration.nix index 343ed53..4f47b3c 100644 --- a/systems/system1/configuration.nix +++ b/systems/system1/configuration.nix @@ -1,9 +1,12 @@ { lib, pkgs, ... }: { imports = [ + # TODO auto-load config <fysiweb/configs> <fysiweb/configs/hcloud> ../../configs + # TODO auto-load modules + ../../modules/abuilder ]; config = lib.mkMerge [ @@ -12,15 +15,16 @@ } { fysiweb-apps.public.static-website."nomath-org".domain = "nomath.org"; - fysiweb-apps.public.static-website."nomath-org".root = "${pkgs.nomath-org}"; + fysiweb-apps.public.static-website."nomath-org".root = "/var/lib/abuilder/nomath-org/main"; } { fysiweb-apps.public.static-website."static-nomath-org".domain = "static.nomath.org"; - fysiweb-apps.public.static-website."static-nomath-org".root = "${pkgs.static-nomath-org}"; + fysiweb-apps.public.static-website."static-nomath-org".root = "/var/lib/abuilder/static-nomath-org/main"; } { fysiweb-apps.public.cgit."code-nomath-org".domain = "code.nomath.org"; + fysiweb-apps.public.cgit."code-nomath-org".repositories."abuilder".description = "simple build daemon"; fysiweb-apps.public.cgit."code-nomath-org".repositories."anissue".description = "in-source issue management"; fysiweb-apps.public.cgit."code-nomath-org".repositories."apaperless".description = "document archival system"; fysiweb-apps.public.cgit."code-nomath-org".repositories."infra".description = "nomath.org infrastructure"; @@ -34,5 +38,13 @@ fysiweb-apps.public.cgit."code-nomath-org".settings.root-desc = ""; fysiweb-apps.public.cgit."code-nomath-org".settings.root-title = "code.nomath.org"; } + { + # TODO add abuilder fysiweb app + services.abuilder.enable = true; + services.abuilder.repositories = [ + "/var/lib/git/nomath-org" + "/var/lib/git/static-nomath-org" + ]; + } ]; } |