mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-14 00:59:44 +00:00
12 lines
182 B
Nix
12 lines
182 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
options = {
|
|
ssh.enable = lib.mkEnableOption "enable ssh";
|
|
};
|
|
config = lib.mkIf config.ssh.enable {
|
|
services.openssh.enable = true;
|
|
};
|
|
}
|