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