feat: mullvad on all computers

This commit is contained in:
Patrick 2024-10-25 14:45:07 +02:00
parent c4325a82e7
commit 94c96d1450
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 12 additions and 6 deletions

View file

@ -1,4 +1,9 @@
{ lib, config, ... }:
{
lib,
config,
pkgs,
...
}:
{
networking = {
useNetworkd = true;
@ -28,4 +33,9 @@
MulticastDNS=true
'';
};
services.mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
};
}

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, ... }:
{
networking = {
inherit (config.secrets.secrets.local.networking) hostId;
@ -23,8 +23,4 @@
};
networking.nftables.firewall.zones.untrusted.interfaces = [ "lan01" ];
wireguard.samba-patrick.client.via = "elisabeth-samba";
services.mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
};
}