Compare commits
3 commits
979ea64f9a
...
8ddb1e37b3
Author | SHA1 | Date | |
---|---|---|---|
8ddb1e37b3 | |||
7dbf465aa8 | |||
6d71ea612f |
4 changed files with 37 additions and 11 deletions
|
@ -29,16 +29,24 @@
|
||||||
upstream_dns_file = config.sops.secrets.nextdns.path;
|
upstream_dns_file = config.sops.secrets.nextdns.path;
|
||||||
enable_dnssec = true;
|
enable_dnssec = true;
|
||||||
cache_optimistic = true;
|
cache_optimistic = true;
|
||||||
|
bootstrap_dns = [
|
||||||
|
"9.9.9.10"
|
||||||
|
"149.112.112.10"
|
||||||
|
"2620:fe::10"
|
||||||
|
"2620:fe::fe:10"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
statistics = {
|
statistics = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
interval = "336h";
|
interval = "336h";
|
||||||
ignored = [
|
ignored = [
|
||||||
|
# i dont wanna see what people are watching
|
||||||
"youporn.com"
|
"youporn.com"
|
||||||
"pornhub.com"
|
"pornhub.com"
|
||||||
"xvideos.com"
|
"xvideos.com"
|
||||||
"onlyfans.com"
|
"onlyfans.com"
|
||||||
"fansly.com"
|
"fansly.com"
|
||||||
|
"xnxx.com"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
|
networking.firewall.allowedTCPPorts = [9292];
|
||||||
imports = [
|
imports = [
|
||||||
./restic.nix
|
./restic.nix
|
||||||
./traefik.nix
|
./traefik.nix
|
||||||
|
@ -20,7 +21,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
virtualisation.oci-containers.containers.whisparr = {
|
|
||||||
|
virtualisation.oci-containers.containers = {
|
||||||
|
whisparr = {
|
||||||
image = "hotio/whisparr:nightly-7b7bdb9";
|
image = "hotio/whisparr:nightly-7b7bdb9";
|
||||||
ports = ["6969:6969"];
|
ports = ["6969:6969"];
|
||||||
volumes = [
|
volumes = [
|
||||||
|
@ -30,4 +33,19 @@
|
||||||
];
|
];
|
||||||
extraOptions = ["--network=host"];
|
extraOptions = ["--network=host"];
|
||||||
};
|
};
|
||||||
|
sabnzbd = {
|
||||||
|
image = "linuxserver/sabnzbd";
|
||||||
|
ports = ["9292:9292"];
|
||||||
|
environment = {
|
||||||
|
PUID = "1000";
|
||||||
|
PGID = "1000";
|
||||||
|
};
|
||||||
|
volumes = [
|
||||||
|
"/var/lib/sabnzbd:/config"
|
||||||
|
"/media/downloads:/media/downloads"
|
||||||
|
"/media/incomplete-downloads:/media/incomplete-downloads"
|
||||||
|
];
|
||||||
|
extraOptions = ["--network=host"];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
sops.secrets.gluetun = {};
|
sops.secrets.gluetun = {};
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
gluetun = {
|
gluetun = {
|
||||||
image = "qmcgaw/gluetun:pr-1742";
|
image = "qmcgaw/gluetun:v3.37.0";
|
||||||
|
hostname = "gluetun";
|
||||||
ports = [
|
ports = [
|
||||||
"8888:8888/tcp" # HTTP proxy
|
"8888:8888/tcp" # HTTP proxy
|
||||||
"8388:8388/tcp" # Shadowsocks
|
"8388:8388/tcp" # Shadowsocks
|
||||||
|
|
|
@ -39,7 +39,6 @@ _: {
|
||||||
services = {
|
services = {
|
||||||
sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}];
|
sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}];
|
||||||
radarr.loadBalancer.servers = [{url = "http://localhost:7878";}];
|
radarr.loadBalancer.servers = [{url = "http://localhost:7878";}];
|
||||||
readarr.loadBalancer.servers = [{url = "http://localhost:8787";}];
|
|
||||||
whisparr.loadBalancer.servers = [{url = "http://localhost:6969";}];
|
whisparr.loadBalancer.servers = [{url = "http://localhost:6969";}];
|
||||||
prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}];
|
prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue