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