aboutsummaryrefslogtreecommitdiffstats
path: root/systems/system1
diff options
context:
space:
mode:
Diffstat (limited to 'systems/system1')
-rw-r--r--systems/system1/configuration.nix34
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";
+ }
+ ];
}