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