feat: big refactor
This commit is contained in:
parent
2c09c21833
commit
ebedec9768
159 changed files with 1927 additions and 2222 deletions
29
hosts/APPA/network.nix
Normal file
29
hosts/APPA/network.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
networking = {
|
||||
firewall.enable = true;
|
||||
hostName = "APPA";
|
||||
useDHCP = false;
|
||||
interfaces.enp0s25 = {
|
||||
useDHCP = false;
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "192.168.2.40";
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
ipv6.addresses = [
|
||||
{
|
||||
address = "fdd2:59e7:4ee1:1:2642:c13b:9bbc:7bd3";
|
||||
prefixLength = 64;
|
||||
}
|
||||
];
|
||||
};
|
||||
defaultGateway = {
|
||||
address = "192.168.2.1";
|
||||
};
|
||||
defaultGateway6 = {
|
||||
address = "fdd2:59e7:4ee1:0001::1";
|
||||
interface = "enp0s25";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue