Files
NixOsConfig/modules/core/networking.nix
T
faumaray 079cceb554 update
Signed-off-by: faumaray <faumaray@gmail.com>
2026-10-29 16:02:14 +03:00

19 lines
563 B
Nix

# NetworkManager with the OpenVPN plugin. The owner joins the `networkmanager`
# group in users.nix. Whether a firewall runs is the host's decision
# (modules/hosts/<name>/host.nix).
{
flake.modules.nixos.core =
{ pkgs, ... }:
{
networking.networkmanager = {
enable = true;
plugins = [ pkgs.networkmanager-openvpn ];
};
networking.hosts = {
"43.202.78.169" = [ "public.api.nexon.com" ];
"3.34.32.127" = [ "public.api.nexon.com" ];
"43.201.213.30" = [ "public.api.nexon.com" ];
};
};
}