nix-dotfiles/hmModules/services/ssh/service.nix

15 lines
251 B
Nix
Raw Normal View History

2024-04-14 05:40:02 -07:00
{ config, pkgs, lib, ... }:
{
options.ssh = {
enable = lib.mkEnableOption "Enables ssh";
};
config = lib.mkIf config.ssh.enable {
programs.ssh.enable = true;
home.packages = with pkgs; [
sshfs # SSH File system
];
};
}