blob: d06bc27db25994a5015f0ea7bb39400aad81cae9 (
plain)
1
2
3
4
5
6
7
8
9
|
{ pkgs, ... }:
{
users.users.makefu.packages = with pkgs; [ iproute vpn-ws ];
# vpn-ws-client vpnws wss://localhost/vpn --no-verify --exec "ip link set vpnws up;ip addr add 10.244.1.2/24 dev vpnws"
networking.interfaces.vpnws = {
virtual = true;
virtualType = "tap";
};
}
|