Revert some wireguard stuff and change something idk
This commit is contained in:
parent
57fcd83770
commit
986ff8c3d1
|
@ -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" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue