home-manager/tests/modules/programs/ssh/default-config.nix

17 lines
267 B
Nix
Raw Normal View History

2019-03-19 23:00:17 +01:00
{ 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}
'';
};
}