Remove previous beatific config
This commit is contained in:
parent
6215ce2961
commit
de253930e3
@ -1,8 +1,6 @@
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
beatific = import ../../modules/beatific-config.nix;
|
||||
in {
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./fileserver.nix
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Shared configuration values
|
||||
let
|
||||
nebula-port = 4242;
|
||||
empyrean-vpn-ip = "10.22.20.1";
|
||||
empyrean-ext-dns = "vpn.alogoulogoi.com";
|
||||
in {
|
||||
nebula-defaults = {
|
||||
listen.port = nebula-port;
|
||||
|
||||
# Don't filter at the VPN level
|
||||
firewall.outbound = [ { port = "any"; proto = "any"; host = "any"; } ];
|
||||
firewall.inbound = [ { port = "any"; proto = "any"; host = "any"; } ];
|
||||
|
||||
settings = {
|
||||
# Enable UDP holepunching both ways, which allows nodes to establish more direct connections with each other
|
||||
punchy = { punch = true; response = true; };
|
||||
};
|
||||
};
|
||||
|
||||
inherit empyrean-vpn-ip;
|
||||
empyrean-host-map = { ${empyrean-vpn-ip} = [ "${empyrean-ext-dns}:${toString nebula-port}" ]; };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user