fuck qbit-manage
This commit is contained in:
parent
d466d4091a
commit
0c1bc0f324
@ -48,8 +48,10 @@ in
|
||||
config = lib.mkIf config.my.servers.qbittorrent.enable {
|
||||
home-manager.users.jawz = {
|
||||
home.activation.installVueTorrent = lib.mkAfter ''
|
||||
mkdir -p "$HOME/.config/vuetorrent"
|
||||
cp -rT "${vuetorrent}" "$HOME/.local/share/vuetorrent"
|
||||
vuedir="$HOME/.local/share/vuetorrent"
|
||||
command rm -rf "$vuedir"
|
||||
mkdir -p "$vuedir"
|
||||
cp -rT "${vuetorrent}" "$vuedir"
|
||||
'';
|
||||
xdg.configFile."unpackerr.conf" = lib.mkIf config.my.servers.unpackerr.enable {
|
||||
source = ../../dotfiles/unpackerr.conf;
|
||||
@ -70,7 +72,7 @@ in
|
||||
"certificates/qbit_key" = mkQbitSecret "server.key" "0600";
|
||||
};
|
||||
systemd = {
|
||||
packages = [ pkgs.qbittorrent-enhanced-nox ];
|
||||
packages = [ pkgs.qbittorrent-nox ];
|
||||
services = {
|
||||
"qbittorrent-nox@jawz" = {
|
||||
enable = true;
|
||||
@ -102,7 +104,9 @@ in
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
RestartSec = 30;
|
||||
ExecStart = "${pkgs.unpackerr}/bin/unpackerr -c /home/jawz/.config/unpackerr.conf";
|
||||
ExecStart = ''
|
||||
${pkgs.unpackerr}/bin/unpackerr \
|
||||
-c /home/jawz/.config/unpackerr.conf'';
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -110,9 +114,7 @@ in
|
||||
enable = true;
|
||||
description = "Tidy up my torrents";
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
OnCalendar = "*:0/10";
|
||||
};
|
||||
timerConfig.OnCalendar = "*:0/10";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user