Signed-off-by: squat <lserven@gmail.com>
This commit is contained in:
squat 2025-05-23 02:58:23 +02:00
parent e09c1aefe4
commit 0e3b855456
No known key found for this signature in database
GPG key ID: 586FEAF680DA74AD
2 changed files with 13 additions and 0 deletions

View file

@ -111,6 +111,7 @@ in {
tests.services-netdata = makeTest ./tests/services-netdata.nix;
tests.services-ofborg = makeTest ./tests/services-ofborg.nix;
tests.services-offlineimap = makeTest ./tests/services-offlineimap.nix;
tests.services-openssh = makeTest ./tests/services-openssh.nix;
tests.services-privoxy = makeTest ./tests/services-privoxy.nix;
tests.services-redis = makeTest ./tests/services-redis.nix;
tests.services-skhd = makeTest ./tests/services-skhd.nix;

View file

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
services.openssh.extraConfig = ''
StreamLocalBindUnlink yes
'';
test = ''
echo >&2 "checking for StreamLocalBindUnlink in /etc/ssh/ssh_known_hosts"
grep 'StreamLocalBindUnlink yes' ${config.out}/etc/ssh/sshd_config.d/100-nix-darwin.conf
'';
}