From 76e6ca129102c4a7a59cd5131a3a2d91a94d5839 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Mon, 26 Aug 2024 14:48:25 -0400 Subject: [PATCH] Experiment with submodules --- .gitmodules | 3 +++ nixos/server/nginx.nix | 2 +- nixos/server/webpages/Jimbo-Landing-Page | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 nixos/server/webpages/Jimbo-Landing-Page diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..c20294a --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "nixos/server/webpages/Jimbo-Landing-Page"] + path = nixos/server/webpages/Jimbo-Landing-Page + url = ssh://gitea@git.jimbosfiles.com:2299/Jimbo/Jimbo-Landing-Page.git diff --git a/nixos/server/nginx.nix b/nixos/server/nginx.nix index eadb6dc..27cb05f 100644 --- a/nixos/server/nginx.nix +++ b/nixos/server/nginx.nix @@ -15,7 +15,7 @@ "${secrets.jimDomain}" = { enableACME = true; addSSL = true; - root = "/var/www/jimweb"; + root = ./websites/Jimbo-Landing-Page; locations = { "/.well-known/matrix/client" = { extraConfig = '' diff --git a/nixos/server/webpages/Jimbo-Landing-Page b/nixos/server/webpages/Jimbo-Landing-Page new file mode 160000 index 0000000..4822d4c --- /dev/null +++ b/nixos/server/webpages/Jimbo-Landing-Page @@ -0,0 +1 @@ +Subproject commit 4822d4c9f78f245ec2b4b68baba271c0a32225bf