Rename vpn to heimdall
This commit is contained in:
parent
3ac68cbff6
commit
be44c8410b
2 changed files with 6 additions and 5 deletions
|
@ -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; })
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in a new issue