Rename vpn to heimdall

This commit is contained in:
Erwin Boskma 2022-10-07 20:42:30 +02:00
parent 3ac68cbff6
commit be44c8410b
Signed by: erwin
GPG key ID: 270B20D17394F7E5
2 changed files with 6 additions and 5 deletions

View file

@ -158,9 +158,9 @@
]; ];
}; };
vpn = defSystem "x86_64-linux" { heimdall = defSystem "x86_64-linux" {
imports = [ imports = [
(import ./machines/vpn/configuration.nix { inherit self; }) (import ./machines/heimdall/configuration.nix { inherit self; })
]; ];
}; };
}; };

View file

@ -17,6 +17,10 @@ in
}; };
}; };
proxmox.qemuConf = {
name = "heimdall";
};
networking = { networking = {
hostName = "heimdall"; hostName = "heimdall";
useDHCP = false; useDHCP = false;
@ -31,9 +35,6 @@ in
br0 = { br0 = {
ipv4.addresses = [{ address = "10.0.0.250"; prefixLength = 24; }]; ipv4.addresses = [{ address = "10.0.0.250"; prefixLength = 24; }];
}; };
eth1 = {
ipv4.addresses = [{ address = "10.2.0.20"; prefixLength = 24; }];
};
}; };
firewall.trustedInterfaces = [ "eth1" ]; firewall.trustedInterfaces = [ "eth1" ];