networking, moving services, jellyfin work!
This commit is contained in:
parent
ff3014e736
commit
152b1f600f
3 changed files with 19 additions and 14 deletions
|
|
@ -57,6 +57,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
sonarr = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
prowlarr = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "America/Toronto";
|
time.timeZone = "America/Toronto";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,12 +48,6 @@ in {
|
||||||
{
|
{
|
||||||
job_name = "node-exporters-lan";
|
job_name = "node-exporters-lan";
|
||||||
static_configs = [
|
static_configs = [
|
||||||
#{
|
|
||||||
# targets = ["192.168.1.241:9100"];
|
|
||||||
# labels = {
|
|
||||||
# instance = "pi";
|
|
||||||
# };
|
|
||||||
#}
|
|
||||||
{
|
{
|
||||||
targets = ["127.0.0.1:9100"];
|
targets = ["127.0.0.1:9100"];
|
||||||
labels = {
|
labels = {
|
||||||
|
|
@ -66,16 +60,14 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.jellyfin = {
|
||||||
|
environment = {
|
||||||
|
DOTNET_SYSTEM_IO_DISABLEFILELOCKING = "1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# media
|
# media
|
||||||
services = {
|
services = {
|
||||||
sonarr = {
|
|
||||||
inherit user;
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
prowlarr = {
|
|
||||||
enable = true;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
jellyfin = {
|
jellyfin = {
|
||||||
inherit user;
|
inherit user;
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -159,6 +159,9 @@
|
||||||
# services.openssh.enable = true;
|
# services.openssh.enable = true;
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
|
networking.firewall.allowedUDPPorts = [
|
||||||
|
5353 # mDNS
|
||||||
|
];
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue