nixos/redsocks: replace systemd script with ExecStart

This commit is contained in:
h7x4
2025-10-27 18:52:15 +09:00
parent 32b4f7df80
commit 2ed2c0afa8
@@ -276,7 +276,7 @@ in
description = "Redsocks";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
script = "${pkgs.redsocks}/bin/redsocks -c ${configfile}";
serviceConfig.ExecStart = "${lib.getExe pkgs.redsocks} -c ${configfile}";
};
networking.firewall.extraCommands = iptables;