1
Fork 0

Fix qbit podman arg & merge backups

This commit is contained in:
prescientmoon 2024-05-31 01:41:34 +02:00
parent 3c86c96a60
commit 0301b2f85e
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
2 changed files with 3 additions and 2 deletions

View file

@ -7,7 +7,7 @@ let
inherit pruneOpts paths; inherit pruneOpts paths;
initialize = true; initialize = true;
repository = "sftp:${backupUrl}:backups/${config.networking.hostName}/${name}"; repository = "sftp:${backupUrl}:backups/${name}";
passwordFile = config.sops.secrets.backup_password.path; passwordFile = config.sops.secrets.backup_password.path;
extraOptions = [ "sftp.args='-i ${config.users.users.pilot.home}/.ssh/id_ed25519'" ]; extraOptions = [ "sftp.args='-i ${config.users.users.pilot.home}/.ssh/id_ed25519'" ];

View file

@ -19,7 +19,8 @@ in
image = "trigus42/qbittorrentvpn"; image = "trigus42/qbittorrentvpn";
extraOptions = [ extraOptions = [
"--cap-add=net_admin" "--cap-add=net_admin"
"--sysctls=net.ipv4.conf.all.src_valid_mark=1,net.ipv6.conf.all.disable_ipv6=0" "--sysctl=net.ipv4.conf.all.src_valid_mark=1"
"--sysctl=net.ipv6.conf.all.disable_ipv6=0"
]; ];
volumes = [ volumes = [