nix/os/devices/CFB4ED74: add static ipv6 static address
This commit is contained in:
parent
c24e695181
commit
e82047e49d
1 changed files with 7 additions and 1 deletions
|
@ -11,6 +11,13 @@ in {
|
|||
networking.hostName = "CFB4ED74"; # Define your hostname.
|
||||
|
||||
networking.firewall.enable = true;
|
||||
networking.interfaces.eth0 = {
|
||||
useDHCP = true;
|
||||
ipv6.addresses = [ {
|
||||
address = "2a02:c207:3003:2387::1";
|
||||
prefixLength = 64;
|
||||
} ];
|
||||
};
|
||||
|
||||
# Kubernetes
|
||||
# services.kubernetes.roles = ["master" "node"];
|
||||
|
@ -23,7 +30,6 @@ in {
|
|||
services.spice-vdagentd.enable = true;
|
||||
services.qemuGuest.enable = true;
|
||||
|
||||
networking.useDHCP = true;
|
||||
boot.initrd.network = {
|
||||
enable = true;
|
||||
udhcpc.extraArgs = [ "-x hostname:${config.networking.hostName}" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue