Move to NixOS-managed email

This commit is contained in:
Charlotte Van Petegem 2022-03-06 00:09:59 +01:00
parent 7f1769329f
commit d76b03ed7f
No known key found for this signature in database
GPG key ID: 019E764B7184435A
19 changed files with 254 additions and 103 deletions

View file

@ -27,18 +27,6 @@
}
];
};
extraPostACMEScripts = lib.mkOption {
default = [ ];
example = [
''
cp fullchain.pem /data/home/charlotte/synapse/slack/cert.crt
cp privkey.pem /data/home/charlotte/synapse/slack/key.pem
pushd /data/home/charlotte/synapse
''${pkgs.docker-compose}/bin/docker-compose restart slack
popd
''
];
};
};
config = lib.mkIf config.chvp.services.nginx.enable {
@ -54,7 +42,6 @@
"chvp.be"
"*.chvp.be"
];
postRun = lib.concatStrings config.chvp.services.nginx.extraPostACMEScripts;
};
defaults.email = "webmaster@vanpetegem.me";
acceptTerms = true;