diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-02-16 03:24:36 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-02-19 05:19:38 +0100 |
commit | 7fcebbdbbc35f2104465604655038a9c350a423c (patch) | |
tree | 55ff991e4b43597f42f3de216c24c7b377a9c5ab /systems/system1 | |
parent | db8cb61d4a13fa861440379f4788a6524d880467 (diff) |
init static.nomath.org
Diffstat (limited to 'systems/system1')
-rw-r--r-- | systems/system1/configuration.nix | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/systems/system1/configuration.nix b/systems/system1/configuration.nix index 9910511..59e8d5f 100644 --- a/systems/system1/configuration.nix +++ b/systems/system1/configuration.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ lib, pkgs, ... }: { imports = [ <fysiweb/configs> @@ -6,15 +6,29 @@ ../../configs ]; - networking.hostName = "system1"; + config = lib.mkMerge [ + { + networking.hostName = "system1"; + } + { + 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."static-nomath-org".domain = "static.nomath.org"; + fysiweb-apps.public.static-website."static-nomath-org".root = "${pkgs.static-nomath-org}"; + } + { + fysiweb-apps.public.cgit."code-nomath-org".domain = "code.nomath.org"; - fysiweb-apps.public.static-website."nomath-org".domain = "nomath.org"; - fysiweb-apps.public.static-website."nomath-org".root = "${pkgs.nomath-website}"; + fysiweb-apps.public.cgit."code-nomath-org".repositories."nomath-org".description = "nomath.org website"; + fysiweb-apps.public.cgit."code-nomath-org".repositories."static-nomath-org".description = "static.nomath.org website"; - fysiweb-apps.public.cgit."code-nomath-org".domain = "code.nomath.org"; - fysiweb-apps.public.cgit."code-nomath-org".settings.max-stats = "year"; - fysiweb-apps.public.cgit."code-nomath-org".settings.root-desc = ""; - fysiweb-apps.public.cgit."code-nomath-org".settings.root-title = "code.nomath.org"; - - fysiweb-apps.public.cgit."code-nomath-org".repositories."website".description = "nomath.org website"; + fysiweb-apps.public.cgit."code-nomath-org".settings.css = "https://static.nomath.org/cgit.css"; + fysiweb-apps.public.cgit."code-nomath-org".settings.logo = "https://static.nomath.org/logo_cgit.png"; + fysiweb-apps.public.cgit."code-nomath-org".settings.max-stats = "year"; + fysiweb-apps.public.cgit."code-nomath-org".settings.root-desc = ""; + fysiweb-apps.public.cgit."code-nomath-org".settings.root-title = "code.nomath.org"; + } + ]; } |