feat: give droppie a static IP

This commit is contained in:
Benjamin Bädorf 2023-11-05 19:21:28 +01:00
parent f638f8c597
commit 76b9c84735
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -4,7 +4,10 @@
pkgs, pkgs,
... ...
}: { }: {
config = { networking.interfaces.enabcm6e4ei0 = {
ipv6.addresses = [ { address = "2a02:908:5b1:e3c0:3077: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";
pub-solar.wireguard-client = { pub-solar.wireguard-client = {
@ -14,5 +17,4 @@
]; ];
wireguardPrivateKeyFile = "/run/agenix/wg-private-key"; wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
}; };
};
} }