mirror of
https://github.com/nix-community/home-manager
synced 2024-12-29 13:19:47 +01:00
2d963854ae
Make use of the recently added nullable `mkPackageOption` feature to disable installing an SSH client by default: most people should use the client provided by their system.
15 lines
301 B
Nix
15 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"
|
|
'';
|
|
};
|
|
}
|