fix: use DHCP for droppie ipv4
This commit is contained in:
parent
0730673921
commit
e253a136a0
|
@ -15,10 +15,9 @@
|
||||||
#networking.interfaces.enp2s0f0.useDHCP = true;
|
#networking.interfaces.enp2s0f0.useDHCP = true;
|
||||||
#networking.interfaces.enp2s0f1.useDHCP = true;
|
#networking.interfaces.enp2s0f1.useDHCP = true;
|
||||||
|
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
networking.interfaces.enp2s0f0 = {
|
networking.interfaces.enp2s0f0 = {
|
||||||
ipv4.addresses = [ { address = "192.168.178.3"; prefixLength = 32; } ];
|
ipv6.addresses = [ { address = "2a02:908:5b1:e3c0:3::"; prefixLength = 64; } ];
|
||||||
ipv6.addresses = [ { address = "2a02:908:5b1:e3c0:3::"; prefixLength = 128; } ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-droppie.age";
|
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-droppie.age";
|
||||||
|
|
Loading…
Reference in a new issue