From 413f7dd10207429a8a71669f7d2a743041dc2c2e Mon Sep 17 00:00:00 2001 From: toufic ar Date: Tue, 10 Feb 2026 19:26:51 +0200 Subject: [PATCH] add aur subdomain --- config/http/aur.nix | 9 +++++++++ config/http/default.nix | 1 + 2 files changed, 10 insertions(+) create mode 100644 config/http/aur.nix diff --git a/config/http/aur.nix b/config/http/aur.nix new file mode 100644 index 0000000..dbacade --- /dev/null +++ b/config/http/aur.nix @@ -0,0 +1,9 @@ +{config, ...}: let + aurDomain = "aur.${config.customOps.domain.fqdn}"; +in { + services.nginx.virtualHosts.${aurDomain} = { + root = "/var/www/${aurDomain}"; + forceSSL = true; + enableACME = true; + }; +} diff --git a/config/http/default.nix b/config/http/default.nix index d1a98b7..451fe9a 100644 --- a/config/http/default.nix +++ b/config/http/default.nix @@ -4,6 +4,7 @@ in { imports = [ ./captiveportal.nix ./tor-snowflake.nix + ./aur.nix ]; networking.firewall.allowedTCPPorts = [80 443];