nichts/modules/services/ssh.nix

12 lines
272 B
Nix
Raw Normal View History

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