mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 08:46: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"
|
|
];
|
|
};
|
|
};
|
|
}
|