2021-11-16 19:51:10 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.ssh = {
|
|
|
|
enable = true;
|
|
|
|
includes = [ "config.d/*" "other/dir" ];
|
|
|
|
};
|
|
|
|
|
2023-02-10 21:55:17 +01:00
|
|
|
test.stubs.openssh = { };
|
|
|
|
|
2021-11-16 19:51:10 +01:00
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.ssh/config
|
|
|
|
assertFileContains home-files/.ssh/config "Include config.d/* other/dir"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|