16 lines
290 B
Nix
16 lines
290 B
Nix
{ config, lib, namespace, ... }:
|
|
let
|
|
cfg = config.${namespace}.services.ssh-agent;
|
|
in
|
|
{
|
|
options.${namespace}.services.ssh-agent = {
|
|
enable = lib.mkEnableOption "ssh-agent service";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.ssh-agent = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|