1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat(core): add nixos-nftables-firewall; and move some things from core/default.nix to more approriate locations

This commit is contained in:
oddlama 2023-04-16 00:34:35 +02:00
parent 2e45d3f423
commit 12d840c7bf
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
9 changed files with 92 additions and 93 deletions

View file

@ -22,18 +22,13 @@
};
};
extra.wireguard.vms = {
server = {
enable = true;
host = "ward";
port = 51822;
openFirewall = true;
externalPeers = {
test1 = ["10.0.0.91/32"];
test2 = ["10.0.0.92/32"];
test3 = ["10.0.0.93/32"];
};
};
addresses = ["10.0.0.1/24"];
};
#extra.wireguard.vms = {
# server = {
# enable = true;
# host = "192.168.1.231";
# port = 51822;
# openFirewall = true;
# };
# addresses = ["10.0.0.1/24"];
#};
}