nixformat + firewall rules to port forward qbittorrent

This commit is contained in:
Danilo Reyes
2026-04-01 20:32:31 -06:00
parent 1877ad159e
commit 645b022bcf
7 changed files with 127 additions and 22 deletions

View File

@@ -1,11 +1,10 @@
{
config,
inputs,
lib,
pkgs,
}:
let
download = pkgs.download;
inherit (pkgs) download;
gallerySecretsPath = lib.attrByPath [ "sops" "secrets" "gallery-dl/secrets" "path" ] null config;
in
{

View File

@@ -12,7 +12,7 @@ let
inputs.self.lib.hmOnlyUser config osConfig "jawz"
&& (osConfig.my.units.download.enable || osConfig.my.units.downloadManga.enable);
download = import ./common.nix {
inherit inputs lib pkgs;
inherit lib pkgs;
config = if osConfig == null then { } else osConfig;
};
in

View File

@@ -1,5 +1,4 @@
{
inputs,
pkgs,
lib,
config,
@@ -9,7 +8,6 @@ let
download = import ./common.nix {
inherit
config
inputs
lib
pkgs
;