From 0301b2f85e1336a0c4bc348cb921360daa084e06 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Fri, 31 May 2024 01:41:34 +0200 Subject: [PATCH] Fix qbit podman arg & merge backups --- hosts/nixos/common/optional/services/restic/default.nix | 2 +- hosts/nixos/lapetus/services/qbittorrent.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/common/optional/services/restic/default.nix b/hosts/nixos/common/optional/services/restic/default.nix index e1f46db..0cefef0 100644 --- a/hosts/nixos/common/optional/services/restic/default.nix +++ b/hosts/nixos/common/optional/services/restic/default.nix @@ -7,7 +7,7 @@ let inherit pruneOpts paths; initialize = true; - repository = "sftp:${backupUrl}:backups/${config.networking.hostName}/${name}"; + repository = "sftp:${backupUrl}:backups/${name}"; passwordFile = config.sops.secrets.backup_password.path; extraOptions = [ "sftp.args='-i ${config.users.users.pilot.home}/.ssh/id_ed25519'" ]; diff --git a/hosts/nixos/lapetus/services/qbittorrent.nix b/hosts/nixos/lapetus/services/qbittorrent.nix index 6dcbcd9..fd5a7a5 100644 --- a/hosts/nixos/lapetus/services/qbittorrent.nix +++ b/hosts/nixos/lapetus/services/qbittorrent.nix @@ -19,7 +19,8 @@ in image = "trigus42/qbittorrentvpn"; extraOptions = [ "--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 = [