niksos/hosts/chmura/jacekpoz.pl.nix

17 lines
389 B
Nix
Raw Permalink Normal View History

2023-11-25 17:12:09 +01:00
{
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
'';
};
}