fix: use DHCP for droppie ipv4

This commit is contained in:
Benjamin Bädorf 2023-11-18 21:44:51 +01:00
parent 0730673921
commit e253a136a0
No known key found for this signature in database
GPG key ID: 1B7BF5B77A521346

View file

@ -15,10 +15,9 @@
#networking.interfaces.enp2s0f0.useDHCP = true;
#networking.interfaces.enp2s0f1.useDHCP = true;
networking.useDHCP = false;
networking.useDHCP = lib.mkDefault true;
networking.interfaces.enp2s0f0 = {
ipv4.addresses = [ { address = "192.168.178.3"; prefixLength = 32; } ];
ipv6.addresses = [ { address = "2a02:908:5b1:e3c0:3::"; prefixLength = 128; } ];
ipv6.addresses = [ { address = "2a02:908:5b1:e3c0:3::"; prefixLength = 64; } ];
};
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-droppie.age";