Add plato back to rus.selby.ca, move git to common

This commit is contained in:
2021-03-02 17:07:31 +00:00
parent ce77837769
commit 25e3cd0783
5 changed files with 14 additions and 21 deletions
+7 -4
View File
@@ -1,5 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
let
primary-ip = "10.0.0.1";
dns-proxy-ip = "10.0.0.2";
@@ -8,6 +9,9 @@ let
site = config.fudo.site.${site-name};
in {
# Don't do unsupervised upgrades...
system.autoUpgrade.enable = mkForce false;
fudo.local-network = let
host-config = config.fudo.hosts.${config.instance.hostname};
site-name = host-config.site;
@@ -42,7 +46,8 @@ in {
};
interfaces = {
# enp1s0.useDHCP = false;
enp1s0.useDHCP = true;
enp2s0.useDHCP = false;
enp3s0.useDHCP = false;
enp4s0.useDHCP = false;
@@ -60,13 +65,11 @@ in {
}
];
};
extif0 = { useDHCP = true; };
};
nat = {
enable = true;
externalInterface = "extif0";
externalInterface = "enp1s0";
internalInterfaces = [ "intif0" ];
};
};