Remove redundant external-interfaces line

This commit is contained in:
Root 2021-04-12 15:42:53 -07:00
commit c69388c73d
2 changed files with 3 additions and 11 deletions

View File

@ -6,9 +6,7 @@ let
dns-proxy-port = 5335; dns-proxy-port = 5335;
host-packages = with pkgs; [ host-packages = with pkgs; [ nixops ];
nixops
];
site-name = config.fudo.hosts.${config.instance.hostname}.site; site-name = config.fudo.hosts.${config.instance.hostname}.site;
site = config.fudo.site.${site-name}; site = config.fudo.site.${site-name};
@ -53,13 +51,9 @@ in {
network-definition = config.fudo.networks."rus.selby.ca"; network-definition = config.fudo.networks."rus.selby.ca";
}; };
networking = { fudo.hosts.clunk.external-interfaces = [ "enp1s0" ];
firewall = {
enable = true;
trustedInterfaces = [ "intif0" "docker0" ];
allowedTCPPorts = [ 22 ];
};
networking = {
interfaces = { interfaces = {
enp1s0.useDHCP = true; enp1s0.useDHCP = true;

View File

@ -20,8 +20,6 @@ in {
"openssh-with-gssapi-8.4p1" # CVE-2021-28041 "openssh-with-gssapi-8.4p1" # CVE-2021-28041
]; ];
networking = { networking = {
interfaces = { interfaces = {
enp1s0 = { useDHCP = true; }; enp1s0 = { useDHCP = true; };