diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-04-25 11:43:02 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-04-25 11:43:02 +0000 |
commit | b6794414469005eb9c95cdce429eda815808eba7 (patch) | |
tree | 5550a18194df417c9bcada99978f3d46255015f8 /configuration.nix | |
parent | f94e455ae690db1028e922b6ad829622524dde45 (diff) | |
download | infra-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.nix | 1 |
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"; } ]; |