Sshd, very simple sshd setup

This commit is contained in:
Julia Lange 2025-03-12 22:29:53 -07:00
parent 863891641f
commit 5c4a4ef333
Signed by: Julia
SSH key fingerprint: SHA256:50XUMcOFYPUs9/1j7p9SPnwASZ7QnxXm7THF7HkbqzQ

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;
};
}