mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-02 23:21:02 +01:00
18 lines
478 B
Nix
18 lines
478 B
Nix
{
|
|
programs.ssh.enable = true;
|
|
|
|
test.asserts.warnings.expected = [
|
|
''
|
|
`programs.ssh` default values will be removed in the future.
|
|
Consider setting `programs.ssh.enableDefaultConfig` to false,
|
|
and manually set the default values you want to keep at
|
|
`programs.ssh.matchBlocks."*"`.
|
|
''
|
|
];
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.ssh/config
|
|
assertFileContent home-files/.ssh/config \
|
|
${./old-defaults-expected.conf}
|
|
'';
|
|
}
|