Skip to content

Commit

Permalink
it was the fucking firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f committed Apr 16, 2024
1 parent 856ae2d commit a284b93
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion machines/boop/net.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
with lib;
let
constants = import ./constants.nix;
unaddressedNetwork = {
Expand All @@ -12,6 +13,7 @@ let
in {
networking.useDHCP = false;
networking.interfaces.${constants.mgmt_if}.useDHCP = true;
networking.firewall.enable = mkForce false;

systemd.network = {
enable = true;
Expand Down Expand Up @@ -75,6 +77,7 @@ in {
matchConfig.Type = "bridge";
networkConfig = unaddressedNetwork // {
Description = "Bridge of prod traffic";
ConfigureWithoutCarrier = "yes";
};
};

Expand Down

0 comments on commit a284b93

Please sign in to comment.