nixos/shellhub-agent: use mkEnableOption to simplify code
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
6175188591
commit
a62471fc65
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user