petalius: use nixpkgs wstunnel

This commit is contained in:
Gabriel Ebner 2020-11-09 17:32:20 +01:00
parent 90bde009e8
commit a03de989d1
1 changed files with 1 additions and 4 deletions

View File

@ -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 = ''