nixos-config/hosts/x86_64-linux/beleth/networking.nix

29 lines
436 B
Nix
Raw Normal View History

2024-06-09 20:48:07 +02:00
{
config,
lib,
inputs,
...
}: {
imports = [./wireguard.nix];
networking.interfaces = {
enp0s31f6 = {
ipv4 = {
adresses = [
{
address = "88.99.90.90";
prefixLength = 26;
}
];
};
ipv6 = {
adresses = [
{
address = "2a01:4f8:10a:1aab::2";
prefixLength = 80;
}
];
};
};
};
}