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:
parent
2e45d3f423
commit
12d840c7bf
9 changed files with 92 additions and 93 deletions
|
@ -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"];
|
||||
#};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue