mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-10 15:36:25 +00:00
16 lines
270 B
Nix
16 lines
270 B
Nix
{ lib, ... }:
|
|
{
|
|
# Enable acme for usage with nginx vhosts
|
|
security.acme = {
|
|
defaults.email = "greg+acme@burd.me";
|
|
acceptTerms = true;
|
|
};
|
|
|
|
environment.persistence = {
|
|
"/persist" = {
|
|
directories = [
|
|
"/var/lib/acme"
|
|
];
|
|
};
|
|
};
|
|
}
|