nichts/modules/services/ssh.nix

15 lines
274 B
Nix
Raw Normal View History

2024-05-22 14:29:45 +02:00
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.modules.programs.ssh;
inherit (config.modules.other.system) username;
in {
options.modules.programs.ssh.enable = mkEnableOption "ssh";
2024-05-22 14:29:45 +02:00
config = mkIf cfg.enable {programs.ssh = {startAgent = true;};};
}