From 7e651ec58c79ea6b154010955032699c401375d0 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 16 Nov 2023 01:59:31 -0700 Subject: [PATCH] [NixOS] Use railbird.ai domains --- nixos/code.nix | 3 +++ nixos/gitea.nix | 6 +++--- nixos/machines/biskcomp.nix | 15 ++------------- 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/nixos/code.nix b/nixos/code.nix index 3fb488fe..825c7b0d 100644 --- a/nixos/code.nix +++ b/nixos/code.nix @@ -29,6 +29,9 @@ makeEnable config "modules.code" true { typescript nodePackages.typescript-language-server + # golang + go + # Rust rustup diff --git a/nixos/gitea.nix b/nixos/gitea.nix index db79b6e1..d5860904 100644 --- a/nixos/gitea.nix +++ b/nixos/gitea.nix @@ -19,9 +19,9 @@ makeEnable config "modules.gitea" false { enable = true; virtualHosts = { "gitea" = { - serverName = "1896Folsom.duckdns.org"; - # enableACME = true; - # forceSSL = true; + serverName = "dev.railbird.ai"; + enableACME = true; + forceSSL = true; listen = [{ addr = "0.0.0.0"; port = 3000; diff --git a/nixos/machines/biskcomp.nix b/nixos/machines/biskcomp.nix index 6a5a7000..4e6d453b 100644 --- a/nixos/machines/biskcomp.nix +++ b/nixos/machines/biskcomp.nix @@ -46,22 +46,11 @@ in recommendedGzipSettings = true; recommendedTlsSettings = true; virtualHosts = { - "1896Folsom.duckdns.org" = { - # enableACME = true; - # forceSSL = true; - locations."/" = { - proxyPass = "http://[::1]:8222"; - }; - }; - "dev.railbird.ai" = { + "vaultwarden.railbird.ai" = { enableACME = true; forceSSL = true; - listen = [{ - addr = "0.0.0.0"; - ssl = true; - }]; locations."/" = { - proxyPass = "http://localhost:3001"; + proxyPass = "http://[::1]:8222"; }; }; };