mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
module provided by Maximilian Marx Co-authored-by: Maximilian Marx <maximilian.marx@tu-dresden.de>
35 lines
699 B
Nix
35 lines
699 B
Nix
{ config, pkgs, lib, ... }:
|
|
with lib; {
|
|
config.elss.wireguard = {
|
|
|
|
interfaces = {
|
|
stelnet = {
|
|
servers = {
|
|
metis = {
|
|
localIp = "1";
|
|
extraIps = [ "142" ];
|
|
publicKey = ""; #TODO
|
|
endpoint = "metis.ellmauthaler.net:51820"; #TODO
|
|
};
|
|
};
|
|
|
|
peers = { # TODO
|
|
stel = {
|
|
localIp = "142";
|
|
publicKey = "6ZwilfrS1J/dMYRnwIMcQ3cW0KtJdLRj5VnSOjwOpn8=";
|
|
};
|
|
};
|
|
|
|
prefixes = {
|
|
ipv4 = [ ]; # TODO
|
|
ipv6 = {
|
|
ula = [ ]; # TODO
|
|
gua = [ ];
|
|
};
|
|
serial = "2022073100";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|