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.wstunnel = {
path = with pkgs; [
(haskell.lib.justStaticExecutables
(haskellPackages.callPackage ./pkgs/wstunnel.nix {}))
];
path = [ pkgs.wstunnel ];
wantedBy = [ "wireguard-wg0.service" ];
after = [ "network.target" ];
script = ''