1
1
Fork 0

Remove previous beatific config

This commit is contained in:
Jaculabilis 2023-08-03 21:54:49 -07:00
parent 6215ce2961
commit de253930e3
2 changed files with 1 additions and 26 deletions

View File

@ -1,8 +1,6 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let {
beatific = import ../../modules/beatific-config.nix;
in {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./fileserver.nix ./fileserver.nix

View File

@ -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}" ]; };
}