about summary refs log tree commit diff
path: root/configuration.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-04-25 11:43:02 +0000
committerAlyssa Ross <hi@alyssa.is>2023-04-25 11:43:02 +0000
commitb6794414469005eb9c95cdce429eda815808eba7 (patch)
tree5550a18194df417c9bcada99978f3d46255015f8 /configuration.nix
parentf94e455ae690db1028e922b6ad829622524dde45 (diff)
downloadinfra-b6794414469005eb9c95cdce429eda815808eba7.tar
infra-b6794414469005eb9c95cdce429eda815808eba7.tar.gz
infra-b6794414469005eb9c95cdce429eda815808eba7.tar.bz2
infra-b6794414469005eb9c95cdce429eda815808eba7.tar.lz
infra-b6794414469005eb9c95cdce429eda815808eba7.tar.xz
infra-b6794414469005eb9c95cdce429eda815808eba7.tar.zst
infra-b6794414469005eb9c95cdce429eda815808eba7.zip
configuration.nix: don't log IP addresses
Server logs are exposed to the public internet, so it's best not to
expose IPs.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index 00ca40b..df448dc 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -38,6 +38,7 @@
   security.sudo.wheelNeedsPassword = false;
 
   services.openssh.enable = true;
+  services.openssh.settings.LogLevel = "ERROR";
   services.openssh.hostKeys = [
     { type = "ed25519"; path = "/etc/ssh/ssh_host_ed25519_key"; }
   ];