project-wide: nixdirfmt

This commit is contained in:
kat witch 2021-04-04 23:56:50 +01:00
parent d78814336a
commit 5e8ee72ac8
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
7 changed files with 32 additions and 34 deletions

View file

@ -16,14 +16,10 @@
enableACME = true;
forceSSL = true;
};
users.groups."voice-cert".members = [ "nginx" "murmur" ];
security.acme.certs = {
"voice.kittywit.ch" = {
group = "voice-cert";
};
};
security.acme.certs = { "voice.kittywit.ch" = { group = "voice-cert"; }; };
deploy.tf.dns.records.kittywitch_voice = {
tld = "kittywit.ch.";

View file

@ -24,5 +24,7 @@
certDir = "/var/lib/acme/sync.kittywit.ch/";
};
security.acme.certs."sync.kittywit.ch".postRun = "cp key.pem privkey.pem\nchown acme:voice-cert privkey.pem";
security.acme.certs."sync.kittywit.ch".postRun = ''
cp key.pem privkey.pem
chown acme:voice-cert privkey.pem'';
}