Skip to content

Commit

Permalink
Disable spammy firewall logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
solson committed Oct 1, 2020
1 parent afd2159 commit f45a2b5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion shannon/configuration.nix
Expand Up @@ -24,7 +24,13 @@ in
networking.hostName = "shannon";
i18n.defaultLocale = "en_US.UTF-8";

networking.firewall.allowedTCPPorts = [ identdPort ];
networking.firewall = {
allowedTCPPorts = [ identdPort ];

# These log messages are big and happen many times per minute, causing log
# bloat and systemd-journald to use over 70 MiB of RAM.
logRefusedConnections = false;
};

users.users = {
root = {
Expand Down

0 comments on commit f45a2b5

Please sign in to comment.