Merge remote-tracking branch 'origin'
This commit is contained in:
commit
cdf4b472ca
1 changed files with 29 additions and 23 deletions
|
@ -17,30 +17,36 @@ with lib.${namespace};
|
||||||
# Enables the generation of /boot/extlinux/extlinux.conf
|
# Enables the generation of /boot/extlinux/extlinux.conf
|
||||||
boot.loader.generic-extlinux-compatible.enable = true;
|
boot.loader.generic-extlinux-compatible.enable = true;
|
||||||
|
|
||||||
networking.hostName = "blarm"; # Define your hostname.
|
networking = {
|
||||||
networking.networkmanager.enable = true;
|
hostName = "blarm";
|
||||||
networking.defaultGateway.address = "192.168.1.1";
|
firewall.enable = false;
|
||||||
networking.defaultGateway.interface = "end0";
|
networkmanager.enable = false;
|
||||||
networking.interfaces.end0 = {
|
dhcpcd.enable = true;
|
||||||
useDHCP = true;
|
defaultGateway.address = "192.168.1.1";
|
||||||
ipv4.addresses = [
|
interfaces.end0 = {
|
||||||
{
|
useDHCP = true;
|
||||||
address = "192.168.1.202";
|
ipv4.addresses = [
|
||||||
prefixLength = 32;
|
{
|
||||||
}
|
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;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
networking.interfaces.end0.ipv6.addresses = [
|
|
||||||
{
|
|
||||||
address = "fd00:192:168:1::202";
|
|
||||||
prefixLength = 64;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
address = "fd00:192:168:1::251";
|
|
||||||
prefixLength = 64;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
networking.firewall.enable = false;
|
|
||||||
|
|
||||||
nix.settings.experimental-features = [
|
nix.settings.experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue