mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:18:30 +09:00
24 lines
380 B
Nix
24 lines
380 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.applications.ssh;
|
|
in
|
|
{
|
|
imports = [
|
|
./home.nix
|
|
./system.nix
|
|
];
|
|
|
|
options.my.applications.ssh = {
|
|
enable = lib.mkEnableOption "OpenSSH client";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
my.applications.ssh.system.enable = lib.mkDefault true;
|
|
my.applications.ssh.homeManager.enable = lib.mkDefault true;
|
|
};
|
|
}
|