diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2017-01-09 10:59:37 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-01-09 19:24:41 +0100 |
commit | 88908145ead927ecc8ae811f7d31bdef30b5dc0b (patch) | |
tree | dbd2ae061ee116a1ddbb45109c850dd8f4999937 /nixos/modules/profiles | |
parent | 464c79ea9f929d1237dbc2df878eedad91767a72 (diff) | |
download | nixlib-88908145ead927ecc8ae811f7d31bdef30b5dc0b.tar nixlib-88908145ead927ecc8ae811f7d31bdef30b5dc0b.tar.gz nixlib-88908145ead927ecc8ae811f7d31bdef30b5dc0b.tar.bz2 nixlib-88908145ead927ecc8ae811f7d31bdef30b5dc0b.tar.lz nixlib-88908145ead927ecc8ae811f7d31bdef30b5dc0b.tar.xz nixlib-88908145ead927ecc8ae811f7d31bdef30b5dc0b.tar.zst nixlib-88908145ead927ecc8ae811f7d31bdef30b5dc0b.zip |
nixos installer: don't log refused packets to console
Fixes #19764.
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r-- | nixos/modules/profiles/installation-device.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix index 93736ba256b3..7949e600f86a 100644 --- a/nixos/modules/profiles/installation-device.nix +++ b/nixos/modules/profiles/installation-device.nix @@ -70,5 +70,11 @@ with lib; # the initrd builder. system.extraDependencies = [ pkgs.stdenv pkgs.busybox pkgs.perlPackages.ArchiveCpio ]; + # Show all debug messages from the kernel but don't log refused packets + # because we have the firewall enabled. This makes installs from the + # console less cumbersome if the machine has a public IP. + boot.consoleLogLevel = mkDefault 7; + networking.firewall.logRefusedConnections = mkDefault false; + }; } |