nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit cafdefb7e183eae9cc16845e71cc83140e690ca9
parent c184c0e5728598af28fc8946aec01f0ee480f443
Author: Peter <peter@minskio.co.uk>
Date:   Fri, 13 Nov 2026 18:56:12 +0000

Try to fix transmission deletion on VPN drop

Diffstat:
Mcommon/docker.nix | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/common/docker.nix b/common/docker.nix @@ -1,8 +1,8 @@ -{ pkgs, vars, ... }: { +{ lib, pkgs, vars, ... }: { # Runtime virtualisation.docker.enable = true; - virtualisation.docker.autoPrune.enable = true; + # virtualisation.docker.autoPrune.enable = true; users.extraUsers.${vars.user.username}.extraGroups = ["docker"]; # Create Network @@ -20,6 +20,8 @@ # Firewall networking.firewall.allowedTCPPorts = [ 80 443 ]; + # Transmission VPN killswitch fixes + systemd.services.docker-transmission.serviceConfig = { Restart = lib.mkForce "always"; RestartSec = "10s"; }; # Containers virtualisation.oci-containers = {