dotfiles/hosts/groceries/services/sync/default.nix

19 lines
368 B
Nix
Raw Normal View History

_:
{
imports = [
./syncthing.nix
./syncyomi.nix
];
services.nginx = {
virtualHosts."sync.eriedaberrie.me" = {
forceSSL = true;
useACMEHost = "eriedaberrie.me";
locations."/".return = "301 $scheme://eriedaberrie.me$request_uri";
};
};
security.acme.certs."eriedaberrie.me".extraDomainNames = [ "sync.eriedaberrie.me" ];
}