1 { config, pkgs, lib, hostName, ... }:
3 wg-intra-peers = import wireguard/wg-intra/peers.nix;
8 domain = lib.mkDefault "localdomain";
9 search = [ "sourcephile.fr" ];
11 enable = lib.mkDefault true;
12 allowPing = lib.mkDefault true;
16 programs.mtr.enable = true;
19 enable = lib.mkDefault true;
20 nssmdns = lib.mkDefault true;
21 openFirewall = lib.mkDefault false;
22 publish.enable = lib.mkDefault false;
26 forwardX11 = lib.mkDefault true;
29 { addr = wg-intra-peers.${hostName}.ipv4; port = 22; }