ssh: add some basic tests

This commit is contained in:
Robert Helgesson 2019-03-19 23:00:17 +01:00
parent eec78fbd1e
commit 989e636d98
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
6 changed files with 99 additions and 2 deletions

View file

@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.ssh = {
enable = true;
};
nmt.script = ''
assertFileExists home-files/.ssh/config
assertFileContent home-files/.ssh/config ${./default-config-expected.conf}
'';
};
}