add ssh to modules, export networking from blarm
This commit is contained in:
parent
cdf4b472ca
commit
56a64c1e0e
4 changed files with 86 additions and 40 deletions
33
systems/aarch64-linux/blarm/networking.nix
Normal file
33
systems/aarch64-linux/blarm/networking.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
networking = {
|
||||
hostName = "blarm";
|
||||
firewall.enable = false;
|
||||
networkmanager.enable = false;
|
||||
dhcpcd.enable = true;
|
||||
defaultGateway.address = "192.168.1.1";
|
||||
interfaces.end0 = {
|
||||
useDHCP = true;
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "192.168.1.251";
|
||||
prefixLength = 32;
|
||||
}
|
||||
{
|
||||
address = "192.168.1.202";
|
||||
prefixLength = 32;
|
||||
}
|
||||
];
|
||||
ipv6.addresses = [
|
||||
{
|
||||
address = "fd00:192:168:1::202";
|
||||
prefixLength = 64;
|
||||
}
|
||||
{
|
||||
address = "fd00:192:168:1::251";
|
||||
prefixLength = 64;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue