Iot : Fix display.

This commit is contained in:
Dmitry Voronin 2024-08-01 20:17:27 +03:00
parent bc426526cf
commit 983d55e51b
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 2 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ container, lib, config, ... }: with lib; let { container, lib, config, pkgsStable, ... }: with lib; let
cfg = config.container.module.iot; cfg = config.container.module.iot;
in { in {
options = { options = {
@ -70,7 +70,6 @@ in {
aiodiscover aiodiscover
aiogithubapi aiogithubapi
async-upnp-client async-upnp-client
# ha-av
ha-ffmpeg ha-ffmpeg
hassil hassil
home-assistant-intents home-assistant-intents

View file

@ -147,7 +147,7 @@ in {
requires = [ "network.target" ]; requires = [ "network.target" ];
path = with pkgs; [ iptables ]; path = with pkgs; [ iptables ];
serviceConfig = { serviceConfig = {
ExecStart = "iptables -t mangle -I POSTROUTING -p tcp -m multiport --dports 80,443 -m connbytes --connbytes-dir=original --connbytes-mode=packets --connbytes 1:6 -m mark ! --mark 0x40000000/0x40000000 -j NFQUEUE --queue-num 200 --queue-bypass"; ExecStart = "${pkgs.iptables}/bin/iptables -t mangle -I POSTROUTING -p tcp -m multiport --dports 80,443 -m connbytes --connbytes-dir=original --connbytes-mode=packets --connbytes 1:6 -m mark ! --mark 0x40000000/0x40000000 -j NFQUEUE --queue-num 200 --queue-bypass";
Type = "oneshot"; Type = "oneshot";
}; };
}; };