diff options
author | lassulus <lassulus@lassul.us> | 2021-09-15 21:23:29 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-09-15 21:23:29 +0200 |
commit | 8acf89ffdb51e4727abe7538c89f854329ef7fa3 (patch) | |
tree | e96bf73c0430694282e0d90a79fa44181144e1a7 | |
parent | e7d5d990837981496fd8883c85391132200a5319 (diff) |
l prism.r: add docker workaround for mumble-web firewall
-rw-r--r-- | lass/1systems/prism/config.nix | 1 | ||||
-rw-r--r-- | lass/2configs/docker.nix | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix index 3a6ab25a4..d43fb804a 100644 --- a/lass/1systems/prism/config.nix +++ b/lass/1systems/prism/config.nix @@ -277,6 +277,7 @@ with import <stockholm/lib>; ]; } <stockholm/lass/2configs/murmur.nix> + <stockholm/lass/2configs/docker.nix> { systemd.services."container@yellow".reloadIfChanged = mkForce false; containers.yellow = { diff --git a/lass/2configs/docker.nix b/lass/2configs/docker.nix new file mode 100644 index 000000000..2bc3a2361 --- /dev/null +++ b/lass/2configs/docker.nix @@ -0,0 +1,6 @@ +{ pkgs, lib, config, ... }: +{ + systemd.services.krebs-iptables.serviceConfig.ExecStartPost = pkgs.writeDash "kick_docker" '' + ${pkgs.systemd}/bin/systemctl restart docker.service + ''; +} |