final setup elisabeth
This commit is contained in:
parent
f1d8069dc6
commit
2a7feaec52
|
@ -12,11 +12,4 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
networking.extraHosts = ''
|
||||
192.168.178.2 lel.lol
|
||||
192.168.178.2 pw.lel.lol
|
||||
192.168.178.2 nc.lel.lol
|
||||
192.168.178.2 adguardhome.lel.lol
|
||||
192.168.178.2 git.lel.lol
|
||||
'';
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -12,7 +12,7 @@
|
|||
bind_host = "0.0.0.0";
|
||||
dns = {
|
||||
bind_hosts = [(lib.net.cidr.host config.secrets.secrets.global.net.ips.${config.node.name} config.secrets.secrets.global.net.privateSubnet)];
|
||||
anonymize_client_ip = true;
|
||||
anonymize_client_ip = false;
|
||||
upstream_dns = [
|
||||
"1.0.0.1"
|
||||
"2606:4700:4700::1111"
|
||||
|
@ -27,7 +27,8 @@
|
|||
];
|
||||
};
|
||||
user_rules = [
|
||||
"||${config.secrets.secrets.global.domains.web}^$dnsrewrite=${lib.net.cidr.host config.secrets.secrets.global.net.ips.elisabeth config.secrets.secrets.global.net.privateSubnet}"
|
||||
"||adguardhome.${config.secrets.secrets.global.domains.web}^$dnsrewrite=${lib.net.cidr.host config.secrets.secrets.global.net.ips.elisabeth config.secrets.secrets.global.net.privateSubnet}"
|
||||
"||fritz.box^$dnsrewrite=${lib.net.cidr.host 1 config.secrets.secrets.global.net.privateSubnet}"
|
||||
];
|
||||
dhcp.enabled = false;
|
||||
ratelimit = 60;
|
||||
|
|
|
@ -45,7 +45,7 @@ in {
|
|||
# federation.ENABLED = true;
|
||||
mailer = {
|
||||
ENABLED = true;
|
||||
HOST = config.secrets.secrets.local.gitea.mail.host;
|
||||
SMTP_ADDR = config.secrets.secrets.local.gitea.mail.host;
|
||||
FROM = config.secrets.secrets.local.gitea.mail.from;
|
||||
USER = config.secrets.secrets.local.gitea.mail.user;
|
||||
SEND_AS_PLAIN_TEXT = true;
|
||||
|
@ -77,7 +77,7 @@ in {
|
|||
DEFAULT_KEEP_EMAIL_PRIVATE = true;
|
||||
};
|
||||
session.COOKIE_SECURE = true;
|
||||
ui.DEFAULT_THEME = "forgejo-auto";
|
||||
ui.DEFAULT_THEME = "forgejo-dark";
|
||||
"ui.meta" = {
|
||||
AUTHOR = "Patrick";
|
||||
DESCRIPTION = "Tollstes Forgejo EU-West";
|
||||
|
|
Loading…
Reference in a new issue