Revert some wireguard stuff and change something idk

This commit is contained in:
Jimbo 2024-10-20 15:01:21 -04:00
parent 57fcd83770
commit 986ff8c3d1
2 changed files with 3 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{ ... }: { config, ... }:
{ {
imports = [ imports = [
./hardware ./hardware
@ -10,7 +10,7 @@
../../../modules/system/devices/boot/systemd ../../../modules/system/devices/boot/systemd
../../../modules/system/devices/networking ../../../modules/system/devices/networking
../../../modules/system/devices/networking/firewall/pc ../../../modules/system/devices/networking/firewall/pc
#../../../modules/system/devices/networking/wireguard/pc ../../../modules/system/devices/networking/wireguard/pc
../../../modules/system/programs/git ../../../modules/system/programs/git
../../../modules/system/programs/security ../../../modules/system/programs/security
../../../modules/system/services/common ../../../modules/system/services/common
@ -21,4 +21,5 @@
]; ];
networking.hostName = "bomberman"; networking.hostName = "bomberman";
networking.wireguard.interfaces."${config.ips.wgInt}".ips = [ "${config.ips.wgSpan}.19/32" ];
} }

View file

@ -1,9 +1,5 @@
{ config, ... }: { config, ... }:
{ {
networking.firewall = {
allowedUDPPorts = [ 51820 ];
};
networking.wireguard.interfaces = { networking.wireguard.interfaces = {
"${config.ips.wgInt}" = { "${config.ips.wgInt}" = {
# Define IP of client in per device config # Define IP of client in per device config