From 56b42e1235c70cd0568994fc36146a34d33f0b37 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 18 Apr 2024 10:49:45 -0400 Subject: atlas: move domain to getchoo.com --- systems/atlas/default.nix | 2 +- systems/atlas/nginx.nix | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'systems') diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix index 7c1bc3d..8d47da4 100644 --- a/systems/atlas/default.nix +++ b/systems/atlas/default.nix @@ -16,7 +16,7 @@ loader.efi.canTouchEfiVariables = true; }; - networking.domain = "mydadleft.me"; + networking.domain = "getchoo.com"; # not sure why this fails... # context: https://discourse.nixos.org/t/logrotate-config-fails-due-to-missing-group-30000/28501 diff --git a/systems/atlas/nginx.nix b/systems/atlas/nginx.nix index 9fe0b38..d453b15 100644 --- a/systems/atlas/nginx.nix +++ b/systems/atlas/nginx.nix @@ -4,12 +4,18 @@ ... }: let inherit (inputs.self.lib.nginx) mkProxy toVHosts; + + miniflux = { + locations = mkProxy "/" "7000"; + }; in { services.nginx = { - virtualHosts = toVHosts config.networking.domain { - miniflux = { - locations = mkProxy "/" "7000"; + virtualHosts = + toVHosts config.networking.domain { + inherit miniflux; + } + // toVHosts "mydadleft.me" { + inherit miniflux; }; - }; }; } -- cgit v1.2.3