home: ssh: make it enable-able

This commit is contained in:
Bruno BELANYI 2021-03-13 00:02:28 +00:00
parent d4bb1e6cd6
commit 81d6b19fc0

View file

@ -1,6 +1,13 @@
{ ... }:
{ config, lib, ... }:
let
cfg = config.my.home.ssh;
in
{
programs.ssh = {
options.my.home.ssh = with lib.my; {
enable = mkDisableOption "ssh configuration";
};
config.programs.ssh = {
enable = true;
matchBlocks = {