feat: passby router - aqua

This commit is contained in:
Ryan Yin
2024-01-21 17:22:59 +08:00
parent a2814f326c
commit 22066db41b
26 changed files with 542 additions and 176 deletions
+4 -4
View File
@@ -1,12 +1,12 @@
{vars_networking, ...}:
#############################################################
#
# Tailscale Gateway(homelab subnet router) - a NixOS VM running on Proxmox
#
#############################################################
let
hostName = "tailscale-gw"; # Define your hostname.
vars = import ../vars.nix;
hostAddress = vars.networking.hostAddress.${hostName};
hostName = "tailscale_gw"; # Define your hostname.
hostAddress = vars_networking.hostAddress.${hostName};
in {
imports = [
./tailscale.nix
@@ -24,7 +24,7 @@ in {
networking = {
inherit hostName;
inherit (vars.networking) defaultGateway nameservers;
inherit (vars_networking) defaultGateway nameservers;
networkmanager.enable = false;
interfaces.ens18 = {