Changing root file server
This commit is contained in:
+31
-33
@@ -26,7 +26,7 @@
|
|||||||
environmentFile = config.sops.templates."caddy.env".path;
|
environmentFile = config.sops.templates."caddy.env".path;
|
||||||
virtualHosts."centraldogma.site:".extraConfig = ''
|
virtualHosts."centraldogma.site:".extraConfig = ''
|
||||||
|
|
||||||
root * /srv/root/
|
root /srv/root/
|
||||||
file_server
|
file_server
|
||||||
encode zstd gzip
|
encode zstd gzip
|
||||||
|
|
||||||
@@ -50,9 +50,6 @@
|
|||||||
virtualHosts."git.centraldogma.site:".extraConfig = ''
|
virtualHosts."git.centraldogma.site:".extraConfig = ''
|
||||||
reverse_proxy /* 127.0.0.1:3000
|
reverse_proxy /* 127.0.0.1:3000
|
||||||
'';
|
'';
|
||||||
virtualHosts."spy.centraldogma.site:".extraConfig = ''
|
|
||||||
reverse_proxy /* 192.168.1.78:4444
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.flaresolverr.enable = true;
|
services.flaresolverr.enable = true;
|
||||||
@@ -62,7 +59,6 @@
|
|||||||
package = pkgs.mongodb-ce;
|
package = pkgs.mongodb-ce;
|
||||||
initialRootPasswordFile = config.sops.secrets."mongodb/initial_password".path;
|
initialRootPasswordFile = config.sops.secrets."mongodb/initial_password".path;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.jackett.enable = true;
|
services.jackett.enable = true;
|
||||||
|
|
||||||
services.factorio = {
|
services.factorio = {
|
||||||
@@ -71,9 +67,9 @@
|
|||||||
requireUserVerification = true;
|
requireUserVerification = true;
|
||||||
username = "TheMaskedMan95";
|
username = "TheMaskedMan95";
|
||||||
admins = ["TheMaskedMan95"];
|
admins = ["TheMaskedMan95"];
|
||||||
|
extraSettingsFile = config.sops.templates."factorio.json".path;
|
||||||
game-name = "Realm of the Masked Men";
|
game-name = "Realm of the Masked Men";
|
||||||
description = "No Dogs allowed";
|
description = "No Dogs allowed";
|
||||||
extraSettingsFile = config.sops.templates."factorio.json".path;
|
|
||||||
saveName = "SPACExxxx";
|
saveName = "SPACExxxx";
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
@@ -89,6 +85,7 @@
|
|||||||
domains = [
|
domains = [
|
||||||
"@"
|
"@"
|
||||||
"www"
|
"www"
|
||||||
|
"*"
|
||||||
];
|
];
|
||||||
usev4 = "webv4, webv4=ipify-ipv4";
|
usev4 = "webv4, webv4=ipify-ipv4";
|
||||||
passwordFile = config.sops.secrets."namecheap/ddyn_password".path;
|
passwordFile = config.sops.secrets."namecheap/ddyn_password".path;
|
||||||
@@ -107,31 +104,32 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.adguardhome = {
|
# services.adguardhome = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
host = "0.0.0.0";
|
# host = "0.0.0.0";
|
||||||
port = 3003;
|
# port = 3003;
|
||||||
settings = {
|
# settings = {
|
||||||
allowDHCP = true;
|
# allowDHCP = true;
|
||||||
dns = {
|
# dns = {
|
||||||
upstream_dns = [
|
# upstream_dns = [
|
||||||
"9.9.9.9#dns.quad9.net"
|
# "9.9.9.9#dns.quad9.net"
|
||||||
"149.112.112.112#dns.quad9.net"
|
# "149.112.112.112#dns.quad9.net"
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
filtering = {
|
# filtering = {
|
||||||
protection_enabled = true;
|
# protection_enabled = true;
|
||||||
filtering_enabled = true;
|
# filtering_enabled = true;
|
||||||
parental_enabled = true;
|
# parental_enabled = true;
|
||||||
safe_search.enabled = false;
|
# safe_search.enabled = false;
|
||||||
};
|
# };
|
||||||
filters = map (url: {
|
# filters =
|
||||||
enabled = true;
|
# map (url: {
|
||||||
url = url;
|
# enabled = true;
|
||||||
}) [
|
# url = url;
|
||||||
"https://adguardteam.github.io/HostlistsRegistry/assets/filter_9.txt"
|
# }) [
|
||||||
"https://adguardteam.github.io/HostlistsRegistry/assets/filter_11.txt"
|
# "https://adguardteam.github.io/HostlistsRegistry/assets/filter_9.txt"
|
||||||
];
|
# "https://adguardteam.github.io/HostlistsRegistry/assets/filter_11.txt"
|
||||||
};
|
# ];
|
||||||
};
|
# };
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user