add test
Signed-off-by: squat <lserven@gmail.com>
This commit is contained in:
parent
e09c1aefe4
commit
0e3b855456
2 changed files with 13 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
12
tests/services-openssh.nix
Normal file
12
tests/services-openssh.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue