From be44c8410b3179d55aeea40fe5aaa62152e8da13 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Fri, 7 Oct 2022 20:42:30 +0200 Subject: [PATCH] Rename vpn to heimdall --- flake.nix | 4 ++-- machines/heimdall/configuration.nix | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 9d8a3ae..19076fd 100644 --- a/flake.nix +++ b/flake.nix @@ -158,9 +158,9 @@ ]; }; - vpn = defSystem "x86_64-linux" { + heimdall = defSystem "x86_64-linux" { imports = [ - (import ./machines/vpn/configuration.nix { inherit self; }) + (import ./machines/heimdall/configuration.nix { inherit self; }) ]; }; }; diff --git a/machines/heimdall/configuration.nix b/machines/heimdall/configuration.nix index c292320..58e7c0b 100644 --- a/machines/heimdall/configuration.nix +++ b/machines/heimdall/configuration.nix @@ -17,6 +17,10 @@ in }; }; + proxmox.qemuConf = { + name = "heimdall"; + }; + networking = { hostName = "heimdall"; useDHCP = false; @@ -31,9 +35,6 @@ in br0 = { ipv4.addresses = [{ address = "10.0.0.250"; prefixLength = 24; }]; }; - eth1 = { - ipv4.addresses = [{ address = "10.2.0.20"; prefixLength = 24; }]; - }; }; firewall.trustedInterfaces = [ "eth1" ];