initial commit

This commit is contained in:
Callum Leslie 2024-08-30 12:50:02 +01:00
commit c45c7f26a4
Signed by: cleslie
GPG key ID: D382C4AFEECEAA90
28 changed files with 1531 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
...
}: {
networking.hostName = "hermes";
networking = {
enableIPv6 = false;
firewall.allowedTCPPorts = [80 443 8265];
firewall.checkReversePath = false;
iproute2.enable = true;
iproute2.rttablesExtraConfig = ''
200 vpn
'';
wg-quick.interfaces.wg1 = {
configFile = config.age.secrets.wg-conf.path;
table = "vpn";
};
};
}