diff options
| author | seth <[email protected]> | 2024-04-18 10:49:45 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-04-18 10:49:45 -0400 |
| commit | 56b42e1235c70cd0568994fc36146a34d33f0b37 (patch) | |
| tree | 41b1831fb1575c9e8c0302f21a6451779d9e2e29 /systems | |
| parent | af6df8b23346606322b851629f130f1cc2acef92 (diff) | |
atlas: move domain to getchoo.com
Diffstat (limited to 'systems')
| -rw-r--r-- | systems/atlas/default.nix | 2 | ||||
| -rw-r--r-- | systems/atlas/nginx.nix | 14 |
2 files changed, 11 insertions, 5 deletions
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; }; - }; }; } |
