formatting + remove obsolete gpgconv

This commit is contained in:
Motiejus Jakštys 2023-04-14 22:54:02 +03:00
parent 867eb0ec77
commit 011068f5cc
2 changed files with 6 additions and 7 deletions

6
.envrc
View File

@ -1,9 +1,3 @@
_gpgconv="gpg2 -d --quiet --yes --compress-algo=none --no-encrypt-to"
if [ "$(git config diff.gpg.textconv)" != "$_gpgconv" ]; then
git config diff.gpg.binary true
git config diff.gpg.textconv "$_gpgconv"
fi
export PASSWORD_STORE_DIR=$PWD
if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then

View File

@ -506,7 +506,12 @@ in {
postfix = {
enable = true;
enableSmtp = true;
networks = ["127.0.0.1/8" "[::ffff:127.0.0.0]/104" "[::1]/128" tailscale_subnet.cidr];
networks = [
"127.0.0.1/8"
"[::ffff:127.0.0.0]/104"
"[::1]/128"
tailscale_subnet.cidr
];
hostname = "${config.networking.hostName}.${config.networking.domain}";
relayHost = "smtp.sendgrid.net";
relayPort = 587;