format
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user