From a62471fc65888bb0ba7b6d8b79352a560cb1629f Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 7 Apr 2022 18:35:43 -0300 Subject: nixos/shellhub-agent: use mkEnableOption to simplify code Signed-off-by: Otavio Salvador --- nixos/modules/services/networking/shellhub-agent.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/services/networking/shellhub-agent.nix b/nixos/modules/services/networking/shellhub-agent.nix index c7f3f9184c4..7a92636b5e3 100644 --- a/nixos/modules/services/networking/shellhub-agent.nix +++ b/nixos/modules/services/networking/shellhub-agent.nix @@ -12,14 +12,7 @@ in services.shellhub-agent = { - enable = mkOption { - type = types.bool; - default = false; - description = '' - Whether to enable the ShellHub Agent daemon, which allows - secure remote logins. - ''; - }; + enable = mkEnableOption "ShellHub Agent daemon"; package = mkOption { type = types.package; -- cgit 1.4.1