add deluge to nfss
This commit is contained in:
parent
cef82a0700
commit
1099ae5f77
2 changed files with 26 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
../system-default.nix
|
../system-default.nix
|
||||||
../../../modules/tailscale.nix
|
../../../modules/tailscale.nix
|
||||||
../../../modules/login-display.nix
|
../../../modules/login-display.nix
|
||||||
|
../../../modules/media-server.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# GRUB bootloader with ZFS support
|
# GRUB bootloader with ZFS support
|
||||||
|
|
@ -125,4 +126,10 @@
|
||||||
subnetRoutes = [ "10.1.1.0/24" ];
|
subnetRoutes = [ "10.1.1.0/24" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Media server services
|
||||||
|
services.media-server = {
|
||||||
|
user = "yanlin";
|
||||||
|
deluge.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,17 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
deluge = {
|
||||||
|
rule = "Host(`deluge.yanlincs.com`)";
|
||||||
|
service = "file";
|
||||||
|
tls = {
|
||||||
|
certResolver = "cloudflare";
|
||||||
|
domains = [{
|
||||||
|
main = "*.yanlincs.com";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
@ -48,6 +59,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
deluge = {
|
||||||
|
loadBalancer = {
|
||||||
|
servers = [{
|
||||||
|
url = "http://nfss.yanlincs.com:8112";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue