Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf943c79fe
|
||
|
|
865ee68a69
|
||
|
|
98251f3b0b
|
@@ -27,9 +27,64 @@ in
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
|
||||
services = {
|
||||
nginx = {
|
||||
enable = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
|
||||
virtualHosts = {
|
||||
"jellyfin.cfl.rr.com" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8096";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pihole-ftl = {
|
||||
enable = true;
|
||||
openFirewallDNS = true;
|
||||
|
||||
settings = {
|
||||
dns = {
|
||||
domain = "cfl.rr.com";
|
||||
|
||||
upstreams = [
|
||||
"1.1.1.1"
|
||||
"1.0.0.1"
|
||||
];
|
||||
|
||||
hosts = [
|
||||
"192.168.1.181 vergil.cfl.rr.com"
|
||||
"192.168.1.181 jellyfin.cfl.rr.com"
|
||||
"192.168.1.181 pihole.cfl.rr.com"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
jellyfin = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
user = "frank";
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
multipath-tools
|
||||
];
|
||||
|
||||
networking.hostName = "vergil";
|
||||
networking = {
|
||||
hostName = "vergil";
|
||||
|
||||
firewall = {
|
||||
allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user