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 = {
|
services.shellhub-agent = {
|
||||||
|
|
||||||
enable = mkOption {
|
enable = mkEnableOption "ShellHub Agent daemon";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = ''
|
|
||||||
Whether to enable the ShellHub Agent daemon, which allows
|
|
||||||
secure remote logins.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
|
Loading…
Reference in New Issue
Block a user