petalius: use nixpkgs wstunnel

This commit is contained in:
Gabriel Ebner 2020-11-09 17:32:20 +01:00
parent 90bde009e8
commit a03de989d1

@ -110,10 +110,7 @@
systemd.services.wireguard-wg0.wantedBy = pkgs.lib.mkOverride 10 []; systemd.services.wireguard-wg0.wantedBy = pkgs.lib.mkOverride 10 [];
systemd.services.wstunnel = { systemd.services.wstunnel = {
path = with pkgs; [ path = [ pkgs.wstunnel ];
(haskell.lib.justStaticExecutables
(haskellPackages.callPackage ./pkgs/wstunnel.nix {}))
];
wantedBy = [ "wireguard-wg0.service" ]; wantedBy = [ "wireguard-wg0.service" ];
after = [ "network.target" ]; after = [ "network.target" ];
script = '' script = ''