qbittorrent certificates

This commit is contained in:
2024-10-05 17:04:53 -06:00
parent dd71c99d0a
commit 61afb7478d
2 changed files with 19 additions and 2 deletions

View File

@@ -50,6 +50,20 @@ in
home-manager.users.jawz.xdg.configFile."unpackerr.conf" =
lib.mkIf config.my.servers.unpackerr.enable
{ source = ../../dotfiles/unpackerr.conf; };
sops.secrets = {
"certificates/qbit_cert" = {
sopsFile = ../../secrets/keys.yaml;
owner = config.users.users.jawz.name;
inherit (config.users.users.jawz) group;
path = "/home/jawz/.config/qBittorrent/ssh/server.crt";
};
"certificates/qbit_key" = {
sopsFile = ../../secrets/keys.yaml;
owner = config.users.users.jawz.name;
inherit (config.users.users.jawz) group;
path = "/home/jawz/.config/qBittorrent/ssh/server.key";
};
};
systemd = {
packages = [ pkgs.qbittorrent-nox ];
services = {