This commit is contained in:
cnst
2024-09-23 18:08:20 +02:00
parent 77f7c9f65f
commit 49dda26a01
8 changed files with 36 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
{
config,
lib,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.modules.utils.ssh;
in {
options = {
modules.utils.ssh.enable = mkEnableOption "Enables ssh";
};
config = mkIf cfg.enable {
programs.ssh = {
enable = true;
};
};
}