From 0cd3f8fc061b4dc5e95bf6899153f9c3a3bffbaa Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Thu, 21 Aug 2025 04:41:22 +0300 Subject: [PATCH] feat: add incus virtual host to orion --- hosts/orion/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/hosts/orion/default.nix b/hosts/orion/default.nix index bf1e944..2219621 100644 --- a/hosts/orion/default.nix +++ b/hosts/orion/default.nix @@ -1,11 +1,13 @@ { + config, lib, pkgs, inputs, ... }: let - inherit (lib) concatLists unique; + inherit (lib) concatLists unique recursiveUpdate; + nginx = config.ataraxia.services.nginx; in { imports = [ @@ -168,6 +170,15 @@ in ) ); + services.nginx.virtualHosts = { + "incus.ataraxiadev.com" = recursiveUpdate nginx.defaultSettings { + locations."/" = { + proxyPass = "https://10.10.10.5:8443"; + proxyWebsockets = true; + }; + }; + }; + ataraxia.virtualisation.guests = { omv = { autoStart = true;