s0mev1rtn0de-nix -> kyra + {hazel, lynn, ivy, mel}: rename + modularity
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
c1445349f0
commit
91d145fc9b
50 changed files with 377 additions and 278 deletions
36
kyra/networking/interfaces/ens3.nix
Normal file
36
kyra/networking/interfaces/ens3.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
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;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue