forked from poz/niksos
17 lines
389 B
Nix
17 lines
389 B
Nix
|
{
|
||
|
pkgs,
|
||
|
...
|
||
|
}: {
|
||
|
services.caddy = {
|
||
|
enable = true;
|
||
|
virtualHosts."jacekpoz.pl".extraConfig = ''
|
||
|
root * ${ pkgs.callPackage ./jacekpoz.pl { } }
|
||
|
file_server
|
||
|
'';
|
||
|
virtualHosts."jpoz.pl".extraConfig = ''
|
||
|
redir / https://jacekpoz.pl
|
||
|
redir /git https://jacekpoz.pl/posts/git-workflow
|
||
|
'';
|
||
|
};
|
||
|
}
|