hmServices, refactor extension, home to automatic

This commit is contained in:
Julia Lange 2024-11-29 02:20:20 -08:00
parent e2e3598230
commit 49cb3c949c
Signed by: Julia
SSH key fingerprint: SHA256:KI8YxpkPRbnDRkXPgCuQCVz181++Vy7NAvmQj8alOhM
10 changed files with 12 additions and 19 deletions

View file

@ -0,0 +1,14 @@
{ 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
];
};
}