{ config, lib, ... }: let cfg = config.ctucxConfig.programs.ssh; in { options = { ctucxConfig.programs.ssh = { enable = lib.mkEnableOption "ssh"; }; }; config = lib.mkIf cfg.enable { home-manager.users.katja.programs.ssh = { enable = true; compression = true; controlMaster = "auto"; controlPersist = "2m"; matchBlocks = { "ctucx-git" = { user = "git"; hostname = "trabbi.ctu.cx"; }; }; }; }; }