diff options
Diffstat (limited to 'modules/services/nixos/qbittorrent.nix')
| -rw-r--r-- | modules/services/nixos/qbittorrent.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/services/nixos/qbittorrent.nix b/modules/services/nixos/qbittorrent.nix index cc147b1..fe2831a 100644 --- a/modules/services/nixos/qbittorrent.nix +++ b/modules/services/nixos/qbittorrent.nix @@ -11,8 +11,10 @@ in { extraGroups = ["fileserver"]; # torrent files go to /media/library }; - networking.firewall.allowedTCPPorts = [49252]; - networking.firewall.allowedUDPPorts = [49252]; + networking.firewall = { + allowedTCPPorts = [49252]; + allowedUDPPorts = [49252]; + }; services.qbittorrent = { enable = true; @@ -25,5 +27,10 @@ in { tls internal reverse_proxy 127.0.0.1:${toString cfg.port} ''; + + collinux.services.glance.homelabServices."bittorrent" = { + url = "https://bittorrent.ganymede"; + icon = "si:qbittorrent"; + }; }; } |
