format all

This commit is contained in:
Kopatz
2025-10-30 21:59:31 +01:00
parent b1dda4d037
commit 8a78e618bb
188 changed files with 3526 additions and 1825 deletions

View File

@@ -1,4 +1,10 @@
{ config, pkgs, lib, inputs, ... }:
{
config,
pkgs,
lib,
inputs,
...
}:
with lib;
let
cfg = config.custom.services.wireguard;
@@ -37,14 +43,14 @@ in
networking.nat.internalInterfaces = [ "wg0" ];
networking.firewall.allowedUDPPorts = [ 51820 ];
#[Interface]
#PrivateKey = <your private key here>
#Address = 192.168.2.20/24
#[Peer]
#PublicKey = vyHNUy97R1cvqEvElznPpFQtoqm7WUHnT96UP6Dquwc=
#AllowedIPs = 192.168.2.0/24
#Endpoint = kopatz.dev:51820
#PersistentKeepalive = 25
#[Interface]
#PrivateKey = <your private key here>
#Address = 192.168.2.20/24
#[Peer]
#PublicKey = vyHNUy97R1cvqEvElznPpFQtoqm7WUHnT96UP6Dquwc=
#AllowedIPs = 192.168.2.0/24
#Endpoint = kopatz.dev:51820
#PersistentKeepalive = 25
networking.wg-quick.interfaces = {
wg0 = {
autostart = true;