diff options
| author | Leonardo <noreply@leoflo.me> | 2026-01-17 14:01:59 +0100 |
|---|---|---|
| committer | Leonardo <noreply@leoflo.me> | 2026-01-17 14:01:59 +0100 |
| commit | 4c832be850a17a61dee864c0081eb185009395a9 (patch) | |
| tree | cdb4de0e55c79de3d8e0981083ade343124d3dfa /odino | |
| parent | fcf37084b050c30eb26794d7d3aefeb35d481e1f (diff) | |
| download | nixos-4c832be850a17a61dee864c0081eb185009395a9.tar.gz nixos-4c832be850a17a61dee864c0081eb185009395a9.zip | |
vpn da wireguard a wg-quick
Diffstat (limited to 'odino')
| -rw-r--r-- | odino/nixos/networking.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odino/nixos/networking.nix b/odino/nixos/networking.nix index 8f9f45c..a69d4fb 100644 --- a/odino/nixos/networking.nix +++ b/odino/nixos/networking.nix @@ -1,8 +1,9 @@ {...}: { networking = { hostName = "odino"; - + nameservers = [ "208.67.222.222" "208.67.220.220" ]; + networkmanager.enable = true; firewall = { @@ -12,10 +13,9 @@ allowedUDPPorts = [ 51820 ]; }; - wireguard.interfaces."tunnel" = { - ips = [ "10.69.0.2/24" ]; - + wg-quick.interfaces."tunnel" = { privateKeyFile = "/home/leo/.wireguard/private.key"; + address = [ "10.69.0.2/24" ]; peers = [ { |
