2024-04-12 20:59:27 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
2024-05-15 00:14:59 +02:00
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.modules.programs.ssh;
|
|
|
|
username = config.modules.other.system.username;
|
|
|
|
in {
|
|
|
|
options.modules.programs.ssh.enable = mkEnableOption "ssh";
|
2024-04-12 20:58:33 +02:00
|
|
|
|
2024-05-15 00:14:59 +02:00
|
|
|
config = mkIf cfg.enable { programs.ssh = { startAgent = true; }; };
|
2024-04-12 20:58:33 +02:00
|
|
|
|
2024-05-15 00:14:59 +02:00
|
|
|
}
|