home: ssh: make it enable-able
This commit is contained in:
parent
d4bb1e6cd6
commit
81d6b19fc0
11
home/ssh.nix
11
home/ssh.nix
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue