sisyphus/nixos/modules/programs/ssh/default.nix

14 lines
245 B
Nix
Raw Normal View History

2023-10-18 18:54:27 +02:00
{ config, lib, pkgs, ... }:
let
cfg = config.sisyphus.programs.ssh;
in {
options.sisyphus.programs.ssh.enable = lib.mkEnableOption "SSH";
config = lib.mkIf cfg.enable {
programs.ssh = {
enableAskPassword = false;
};
};
}