pastila: wip letsencrypt setup
This commit is contained in:
parent
1fe2075869
commit
ffd261ab2d
2 changed files with 27 additions and 0 deletions
|
@ -11,6 +11,7 @@ in
|
||||||
./backups.nix
|
./backups.nix
|
||||||
./armael.nix
|
./armael.nix
|
||||||
./gitolite.nix
|
./gitolite.nix
|
||||||
|
./letsencrypt.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
|
@ -56,6 +57,7 @@ in
|
||||||
weechat
|
weechat
|
||||||
transmission
|
transmission
|
||||||
tremc
|
tremc
|
||||||
|
poezio
|
||||||
];
|
];
|
||||||
|
|
||||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||||
|
|
25
pastila/letsencrypt.nix
Normal file
25
pastila/letsencrypt.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
security.acme = {
|
||||||
|
acceptTerms = true;
|
||||||
|
defaults.email = "armael@deuxfleurs.fr";
|
||||||
|
defaults.dnsProvider = "gandiv5";
|
||||||
|
defaults.credentialFiles = {
|
||||||
|
"GANDIV5_PERSONAL_ACCESS_TOKEN_FILE" = "/etc/secrets/acme/gandi_access_token";
|
||||||
|
"GANDIV5_API_KEY_FILE" = "/etc/secrets/acme/gandi_api_key";
|
||||||
|
};
|
||||||
|
# certs."isomorphis.me" = {};
|
||||||
|
# certs."mail" = {
|
||||||
|
# domain = "smtp.isomorphis.me";
|
||||||
|
# extraDomainNames = [
|
||||||
|
# "imap.isomorphis.me"
|
||||||
|
# "smtp.tremeg.net"
|
||||||
|
# "imap.tremeg.net"
|
||||||
|
# "smtp.gueneau.me"
|
||||||
|
# "imap.gueneau.me"
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
certs."pastila.isomorphis.me" = {};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue