diff options
| author | Seth Flynn <[email protected]> | 2025-02-08 20:44:49 -0500 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2025-02-08 21:58:07 -0500 |
| commit | 61c05b35ebea09eb9aef59f4aac4a706001f7ec6 (patch) | |
| tree | 4fd724535f18d0c53ddf40d6a06e691c094df1d4 /systems | |
| parent | 250b2a0bfd6c9ab9fcf833451f6c7557e30b59ee (diff) | |
nixos/nginx: actually act as a mixin
This doesn't require disabling anything. It only changes the defaults
Diffstat (limited to 'systems')
| -rw-r--r-- | systems/atlas/default.nix | 4 | ||||
| -rw-r--r-- | systems/atlas/forgejo.nix | 3 | ||||
| -rw-r--r-- | systems/atlas/miniflux.nix | 13 |
3 files changed, 14 insertions, 6 deletions
diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix index a2abce8..f1d0f55 100644 --- a/systems/atlas/default.nix +++ b/systems/atlas/default.nix @@ -25,5 +25,9 @@ nixpkgs.hostPlatform = "aarch64-linux"; + services = { + nginx.enable = true; + }; + system.stateVersion = "23.05"; } diff --git a/systems/atlas/forgejo.nix b/systems/atlas/forgejo.nix index 719ea7c..e60fafc 100644 --- a/systems/atlas/forgejo.nix +++ b/systems/atlas/forgejo.nix @@ -9,6 +9,9 @@ in services.nginx.virtualHosts = { "git.getchoo.com" = { + enableACME = false; + forceSSL = false; + locations."/" = { proxyPass = "http://unix:${forgejoCfg.settings.server.HTTP_ADDR}"; }; diff --git a/systems/atlas/miniflux.nix b/systems/atlas/miniflux.nix index 6d3f8ca..179e512 100644 --- a/systems/atlas/miniflux.nix +++ b/systems/atlas/miniflux.nix @@ -17,12 +17,13 @@ }; }; - nginx = { - virtualHosts = { - "miniflux.getchoo.com" = { - locations."/" = { - proxyPass = "http://unix:${lib.head config.systemd.sockets.miniflux.listenStreams}"; - }; + nginx.virtualHosts = { + "miniflux.getchoo.com" = { + enableACME = false; + forceSSL = false; + + locations."/" = { + proxyPass = "http://unix:${lib.head config.systemd.sockets.miniflux.listenStreams}"; }; }; }; |
