feat: rebuit jones to make it be able to be rebooted
This commit is contained in:
parent
35f6d63c10
commit
6ea0240a3a
42 changed files with 124 additions and 121 deletions
|
@ -16,11 +16,9 @@ Notes: Used to have Agent Smith as a partner but it died (Ironically)
|
|||
# name of the server, sets teh hostname and record for it
|
||||
name = "agentjones";
|
||||
ip_pub = "193.1.99.72";
|
||||
ip_priv = "193.1.99.125";
|
||||
hostname = "${name}.skynet.ie";
|
||||
in {
|
||||
imports = [
|
||||
./hardware/_base.nix
|
||||
./hardware/RM001.nix
|
||||
];
|
||||
|
||||
|
@ -55,13 +53,13 @@ in {
|
|||
};
|
||||
|
||||
# keep the wired usb connection alive (front panel)
|
||||
networking.interfaces.enp0s29u1u5u2.useDHCP = true;
|
||||
# networking.interfaces.enp0s29u1u5u2.useDHCP = true;
|
||||
|
||||
networking.hostName = name;
|
||||
# this has to be defined for any physical servers
|
||||
# vms are defined by teh vm host
|
||||
networking.interfaces = {
|
||||
eno2 = {
|
||||
eno1 = {
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = ip_pub;
|
||||
|
@ -69,16 +67,6 @@ in {
|
|||
}
|
||||
];
|
||||
};
|
||||
eno1 = {
|
||||
#useDHCP = false;
|
||||
ipv4.addresses = [
|
||||
{
|
||||
# internal address
|
||||
address = ip_priv;
|
||||
prefixLength = 26;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# this server is teh firewall
|
||||
|
@ -97,7 +85,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
enable = true;
|
||||
enable = false;
|
||||
|
||||
# gonna have to get all the
|
||||
forward = builtins.concatLists (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue