mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-06 17:56:35 +05:30
refactor: move email to global variable
This commit is contained in:
@ -2,11 +2,12 @@
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
email,
|
||||
...
|
||||
}: {
|
||||
security = {
|
||||
acme = {
|
||||
defaults.email = "0xtux@pm.me";
|
||||
defaults.email = "${email}";
|
||||
acceptTerms = true;
|
||||
};
|
||||
};
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
username,
|
||||
email,
|
||||
...
|
||||
}: {
|
||||
services = {
|
||||
@ -10,7 +11,7 @@
|
||||
server.http_port = 8888;
|
||||
security = {
|
||||
admin_user = "${username}";
|
||||
admin_email = "0xtux@pm.me";
|
||||
admin_email = "${email}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
email,
|
||||
...
|
||||
}: {
|
||||
services = {
|
||||
@ -16,8 +17,8 @@
|
||||
|
||||
adminUser = {
|
||||
activate = true;
|
||||
email = "${email}";
|
||||
name = "tux";
|
||||
email = "0xtux@pm.me";
|
||||
passwordFile = config.sops.secrets.plausible_password.path;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user