sops (server part)

This commit is contained in:
2024-06-24 19:07:26 -06:00
parent b915bbe4f3
commit adc3505632
6 changed files with 27 additions and 10 deletions

View File

@@ -100,6 +100,16 @@ in {
default = "/var/lib/docker-configs";
description = "The docker/podman socket path.";
};
smtpemail = lib.mkOption {
type = lib.types.str;
default = "stunner6399@gmail.com";
description = "localhost smtp email";
};
email = lib.mkOption {
type = lib.types.str;
default = "CaptainJawZ@protonmail.com";
description = "localhost smtp email";
};
};
config = {
my.servers = {
@@ -146,7 +156,7 @@ in {
};
security.acme = lib.mkIf config.services.nginx.enable {
acceptTerms = true;
defaults.email = "CaptainJawZ@outlook.com";
defaults.email = config.my.email;
};
services.nginx = {
clientMaxBodySize = "4096m";