Sshd, very simple sshd setup

This commit is contained in:
Julia Lange 2025-03-12 22:29:53 -07:00
parent bc07a7ba54
commit a37979255d

View file

@ -0,0 +1,11 @@
{ config, pkgs, lib, ... }:
{
options.sshd = {
enable = lib.mkEnableOption "Enables ssh daemon";
};
config = lib.mkIf config.sshd.enable {
services.openssh.enable = true;
};
}