Rename wiki to notebook.

main
Joshua Potter 2024-01-31 06:11:29 -07:00
parent d85f90ec7e
commit 45f3a76e72
4 changed files with 17 additions and 17 deletions

View File

@ -4,8 +4,8 @@
../../digital-ocean/configuration.nix
../../services/blog.nix
../../services/bookshelf.nix
../../services/notebook.nix
../../services/portfolio.nix
../../services/wiki.nix
];
networking = {

15
services/notebook.nix Normal file
View File

@ -0,0 +1,15 @@
{ system, ... }:
let
notebook = builtins.getFlake
"github:jrpotter/notebook/d3feb5028bca495b4c96314e251f4308e454a113";
in
{
services.nginx.virtualHosts."notebook.jrpotter.com" = {
forceSSL = true;
enableACME = true;
locations."/" = {
root = notebook.packages.${system}.app;
tryFiles = "$uri $uri.html $uri/ =404";
};
};
}

View File

@ -1,7 +1,7 @@
{ system, ... }:
let
portfolio = builtins.getFlake
"github:jrpotter/portfolio/f8ce67a38c73bf34f42056c3e32e138b3cdac8bb";
"github:jrpotter/portfolio/357999e784102ba11c52cf1fc9edbfaa8a00912d";
in
{
services.nginx.virtualHosts."www.jrpotter.com" = {

View File

@ -1,15 +0,0 @@
{ system, ... }:
let
wiki = builtins.getFlake
"github:jrpotter/wiki/ea476410252407a861c1205366675e87137525f6";
in
{
services.nginx.virtualHosts."wiki.jrpotter.com" = {
forceSSL = true;
enableACME = true;
locations."/" = {
root = wiki.packages.${system}.app;
tryFiles = "$uri $uri.html $uri/ =404";
};
};
}