feat(vpn): add tailscale
This commit is contained in:
parent
6ff98a46da
commit
f76a0f494e
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
with pkgs; {
|
||||
home.packages = with pkgs; [ mullvad-vpn ];
|
||||
|
|
|
@ -5,8 +5,11 @@
|
|||
|
||||
networking.wireguard.enable = true;
|
||||
|
||||
services.tailscale.enable = true;
|
||||
services.mullvad-vpn.enable = true;
|
||||
|
||||
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
||||
|
||||
# set some options after every daemon start
|
||||
# to avoid accidentally leaving unsafe settings
|
||||
systemd.services."mullvad-daemon" = {
|
||||
|
|
Loading…
Reference in a new issue