mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 10:37:44 +00:00
chore: migrate cube host
This commit is contained in:
parent
dad68acf68
commit
f2ab446c48
45 changed files with 904 additions and 88 deletions
|
@ -3,14 +3,12 @@
|
|||
inherit (lib) optionals;
|
||||
in {
|
||||
networking.interfaces.${interface} = {
|
||||
ipv4.addresses = optionals (config.networking.ipv4 != null) [{
|
||||
address = config.networking.ipv4;
|
||||
prefixLength = 22;
|
||||
ipv4.addresses = optionals (config.networking.ipv4.address != null) [{
|
||||
inherit (config.networking.ipv4) address prefixLength;
|
||||
}];
|
||||
|
||||
ipv6.addresses = optionals (config.networking.ipv4 != null) [{
|
||||
address = config.networking.ipv6;
|
||||
prefixLength = 64;
|
||||
ipv6.addresses = optionals (config.networking.ipv4.address != null) [{
|
||||
inherit (config.networking.ipv6) address prefixLength;
|
||||
}];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue