From 6aaa19dd7cdb81600caad5b9d62dcb80950c998e Mon Sep 17 00:00:00 2001 From: self Date: Sun, 2 Jul 2023 04:55:08 -0700 Subject: [PATCH] swap lemmy deployment from these to more --- git/default.nix | 2 +- hosts/more/configuration.nix | 14 +++++++------- hosts/these/configuration.nix | 11 +++++++++-- maint-mode/maint-mode.css | 11 +++++++++++ 4 files changed, 28 insertions(+), 10 deletions(-) diff --git a/git/default.nix b/git/default.nix index cfc84f3..a9eac6c 100644 --- a/git/default.nix +++ b/git/default.nix @@ -25,7 +25,7 @@ in { enable = true; location = "/git"; group = "git"; - virtualHost = "awful.systems these.awful.systems these"; + #virtualHost = "awful.systems these.awful.systems these"; }; services.gitweb = { diff --git a/hosts/more/configuration.nix b/hosts/more/configuration.nix index e1e7cbc..73d6f3b 100644 --- a/hosts/more/configuration.nix +++ b/hosts/more/configuration.nix @@ -1,13 +1,13 @@ { pkgs, ... }: { - imports = - [ ../../hardware/hetzner-cloud/cpx31.nix ../../secrets ../../maint-mode ]; + imports = [ + ../../hardware/hetzner-cloud/cpx31.nix + ../../secrets + ../../lemmy + ../../git/proxy-pass.nix + ../../maint-mode + ]; networking.hostName = "more"; - - awful.systems.maint-mode = { - enable = true; - virtualHost = "awful.systems"; - }; } diff --git a/hosts/these/configuration.nix b/hosts/these/configuration.nix index 284615d..86e11e0 100644 --- a/hosts/these/configuration.nix +++ b/hosts/these/configuration.nix @@ -1,12 +1,19 @@ { pkgs, ... }: + { imports = [ - ../../hardware/hetzner-cloud/cp21.nix + ../../hardware/hetzner-cloud/cx21.nix ../../secrets ../../pass - ../../lemmy + #../../lemmy + ../../maint-mode ../../git ]; networking.hostName = "these"; + + awful.systems.maint-mode = { + enable = true; + virtualHost = "awful.systems"; + }; } diff --git a/maint-mode/maint-mode.css b/maint-mode/maint-mode.css index 2004566..3928817 100644 --- a/maint-mode/maint-mode.css +++ b/maint-mode/maint-mode.css @@ -1,6 +1,17 @@ html { background-color: rgb(34, 34, 34); color: white; + font-family: 'Open Sans', 'Droid Sans', Arial, sans-serif; +} + +a { + color: rgb(231, 76, 60); + text-decoration: none; +} + +a:visited { + color: rgb(231, 76, 60); + text-decoration: none; } .content { -- 2.44.1