Iot : Fix display.
This commit is contained in:
parent
bc426526cf
commit
983d55e51b
|
@ -1,4 +1,4 @@
|
|||
{ container, lib, config, ... }: with lib; let
|
||||
{ container, lib, config, pkgsStable, ... }: with lib; let
|
||||
cfg = config.container.module.iot;
|
||||
in {
|
||||
options = {
|
||||
|
@ -70,7 +70,6 @@ in {
|
|||
aiodiscover
|
||||
aiogithubapi
|
||||
async-upnp-client
|
||||
# ha-av
|
||||
ha-ffmpeg
|
||||
hassil
|
||||
home-assistant-intents
|
||||
|
|
|
@ -147,7 +147,7 @@ in {
|
|||
requires = [ "network.target" ];
|
||||
path = with pkgs; [ iptables ];
|
||||
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";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue