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

View File

@@ -1,3 +1,4 @@
{vars_networking, ...}:
#############################################################
#
# Ruby - a NixOS VM running on Proxmox
@@ -5,8 +6,7 @@
#############################################################
let
hostName = "ruby"; # Define your hostname.
vars = import ../vars.nix;
hostAddress = vars.networking.hostAddress.${hostName};
hostAddress = vars_networking.hostAddress.${hostName};
in {
# Enable binfmt emulation of aarch64-linux, this is required for cross compilation.
boot.binfmt.emulatedSystems = ["aarch64-linux" "riscv64-linux"];
@@ -28,7 +28,7 @@ in {
networking = {
inherit hostName;
inherit (vars.networking) defaultGateway nameservers;
inherit (vars_networking) defaultGateway nameservers;
networkmanager.enable = false;
interfaces.ens18 = {

View File

@@ -1,2 +0,0 @@
{
}