mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-29 18:08:45 +02:00
12 lines
295 B
Nix
12 lines
295 B
Nix
{ config, ... }: {
|
|
sops.secrets.wg-seckey.owner = config.users.users.systemd-network.name;
|
|
|
|
networking.firewall.allowedUDPPorts = [ 51820 ];
|
|
networking.wireguard.enable = true;
|
|
|
|
deployment-TLMS.net.wg = {
|
|
prefix4 = 24;
|
|
privateKeyFile = config.sops.secrets.wg-seckey.path;
|
|
};
|
|
}
|