Moved rewrite rules
Domain rewrite levels are configured as part of a system's configuration instead of at the adguardhome module.
This commit is contained in:
parent
1abcc06919
commit
0090b0d345
|
@ -27,18 +27,6 @@ in {
|
|||
mutableSettings = true;
|
||||
host = "0.0.0.0";
|
||||
port = 3000;
|
||||
settings = {
|
||||
filtering.rewrites = [
|
||||
{
|
||||
domain = "adguardhome.kilonull.com";
|
||||
answer = "192.168.113.13";
|
||||
}
|
||||
{
|
||||
domain = "*.kilonull.com";
|
||||
answer = "192.168.113.13";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
|
|
|
@ -90,6 +90,27 @@
|
|||
apps.yubikey.enable = true;
|
||||
};
|
||||
|
||||
# Rewrite specific to this machine (didn't want to put this in my adguardhome
|
||||
# module incase I want to reuse it for something else later)
|
||||
services.adguardhome.settings.filtering.rewrites = [
|
||||
{
|
||||
domain = "octoprint.kilonull.com";
|
||||
answer = "192.168.113.42";
|
||||
}
|
||||
{
|
||||
domain = "hydra.kilonull.com";
|
||||
answer = "192.168.113.69";
|
||||
}
|
||||
{
|
||||
domain = "cache.kilonull.com";
|
||||
answer = "192.168.113.69";
|
||||
}
|
||||
{
|
||||
domain = "*.kilonull.com";
|
||||
answer = "192.168.113.13";
|
||||
}
|
||||
];
|
||||
|
||||
security.pam.sshAgentAuth = {
|
||||
enable = true;
|
||||
# Addresses issue 31611
|
||||
|
|
Loading…
Reference in a new issue