mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-21 00:11:26 +02:00
feat: passby router - aqua
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user