mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 00:21:34 +01:00
14 lines
273 B
Nix
14 lines
273 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.myConfig.ssh-client.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.myConfig.ssh-client.enable {
|
|
programs.ssh = {
|
|
enable = true;
|
|
|
|
addKeysToAgent = "confirm";
|
|
};
|
|
|
|
services.ssh-agent.enable = true;
|
|
};
|
|
}
|