reNixos/kyra/networking/interfaces/ens3.nix
s0me1newithhand7s cbd0c3661c s0melapt0p-nix -> isla: rename
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2026-02-08 22:16:49 +03:00

36 lines
773 B
Nix

{
config,
lib,
...
}: {
networking = {
interfaces = {
ens3 = {
ipv4 = {
addresses = lib.optionals (config.networking.hostName == "mel") [
{
address = "45.11.229.254";
prefixLength = 24;
}
];
};
ipv6 = {
addresses =
lib.optionals (config.networking.hostName == "hazel") [
{
address = "2a03:6f01:1:2::cb1e";
prefixLength = 64;
}
]
++ lib.optionals (config.networking.hostName == "mel") [
{
address = "2a0e:97c0:3e3:2Oa::1";
prefixLength = 64;
}
];
};
};
};
};
}