Rename wiki to notebook.
parent
d85f90ec7e
commit
45f3a76e72
|
@ -4,8 +4,8 @@
|
||||||
../../digital-ocean/configuration.nix
|
../../digital-ocean/configuration.nix
|
||||||
../../services/blog.nix
|
../../services/blog.nix
|
||||||
../../services/bookshelf.nix
|
../../services/bookshelf.nix
|
||||||
|
../../services/notebook.nix
|
||||||
../../services/portfolio.nix
|
../../services/portfolio.nix
|
||||||
../../services/wiki.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
{ system, ... }:
|
{ system, ... }:
|
||||||
let
|
let
|
||||||
portfolio = builtins.getFlake
|
portfolio = builtins.getFlake
|
||||||
"github:jrpotter/portfolio/f8ce67a38c73bf34f42056c3e32e138b3cdac8bb";
|
"github:jrpotter/portfolio/357999e784102ba11c52cf1fc9edbfaa8a00912d";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.nginx.virtualHosts."www.jrpotter.com" = {
|
services.nginx.virtualHosts."www.jrpotter.com" = {
|
||||||
|
|
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in New Issue