sops (server part)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user