diff options
Diffstat (limited to 'systems/atlas')
| -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; }; - }; }; } |
