19 lines
563 B
Nix
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" ];
|
|
};
|
|
};
|
|
}
|