mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 21:40:31 +01:00
29 lines
436 B
Nix
29 lines
436 B
Nix
{
|
|
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;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|