Add wiki service.
parent
0b5c179fb3
commit
7c5fcc5a88
|
@ -5,6 +5,7 @@
|
||||||
../../services/blog.nix
|
../../services/blog.nix
|
||||||
../../services/bookshelf.nix
|
../../services/bookshelf.nix
|
||||||
../../services/portfolio.nix
|
../../services/portfolio.nix
|
||||||
|
../../services/wiki.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
{ system, ... }:
|
||||||
|
let
|
||||||
|
wiki = builtins.getFlake
|
||||||
|
"github:jrpotter/wiki/7fa6887142330f5d51d8da45f896441684b6ef93";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
services.nginx.virtualHosts."wiki.jrpotter.com" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
root = wiki.packages.${system}.app;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue