Refactor codebase to use nix modules
This commit is contained in:
parent
a4735423b4
commit
ffada2703c
114 changed files with 1018 additions and 744 deletions
14
hmModules/services/ssh/default.nix
Normal file
14
hmModules/services/ssh/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue