e1fbf03dff
Note: not the actual initial commit. I swear I will stop repeatedly force pushing to this single commit eventually ok.
19 lines
368 B
Nix
19 lines
368 B
Nix
_:
|
|
|
|
{
|
|
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" ];
|
|
}
|