nix-config/modules/wireguard.nix
2026-05-01 00:47:35 +02:00

21 lines
410 B
Nix

{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
wireguard-tools
];
# networking.wg-wg-quick.interfaces = {
# fachschaft = {
# address = [ "10.252.10.4/32" ];
# peers = [
# {
# allowedIPs = [ "10.19.5.0/24" ];
# endpoint = "141.40.176.36:51820";
# publicKey = "XX";
# }
# ];
# privateKey = "XX";
# };
# };
}