mirror of
https://github.com/nix-community/home-manager
synced 2024-12-29 22:43:28 +00:00
16 lines
301 B
Nix
16 lines
301 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.ssh = {
|
||
|
enable = true;
|
||
|
includes = [ "config.d/*" "other/dir" ];
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.ssh/config
|
||
|
assertFileContains home-files/.ssh/config "Include config.d/* other/dir"
|
||
|
'';
|
||
|
};
|
||
|
}
|