format
Some checks failed
runner-smoke / ubuntu-2404 (push) Successful in 8m18s
Build on Push / build-configurations (push) Failing after 24m32s

This commit is contained in:
Danilo Reyes
2026-03-23 13:57:34 -06:00
parent 5872d59084
commit 30199ba69d

View File

@@ -53,16 +53,19 @@ in
my.network.firewall.additionalPorts = [ config.my.servers.qbittorrent.port ]; my.network.firewall.additionalPorts = [ config.my.servers.qbittorrent.port ];
home-manager.users.jawz.xdg.dataFile.vuetorrent.source = vuetorrent; home-manager.users.jawz.xdg.dataFile.vuetorrent.source = vuetorrent;
home-manager.users.jawz.imports = [ home-manager.users.jawz.imports = [
({ lib, ... }: { (
home.activation.qbittorrentAutorunCommand = lib.hm.dag.entryAfter [ "writeBoundary" ] '' { lib, ... }:
conf=/home/jawz/.config/qBittorrent/qBittorrent.conf {
if [ -f "$conf" ]; then home.activation.qbittorrentAutorunCommand = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
sed -i \ conf=/home/jawz/.config/qBittorrent/qBittorrent.conf
's|^program=.*$|program=${torrentCompletionScript} %F|' \ if [ -f "$conf" ]; then
"$conf" sed -i \
fi 's|^program=.*$|program=${torrentCompletionScript} %F|' \
''; "$conf"
}) fi
'';
}
)
]; ];
sops.secrets = sops.secrets =
let let