Refactor obsidian options module
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -5,14 +5,16 @@ let
|
||||
with types;
|
||||
{ config, ... }:
|
||||
{
|
||||
options.email = mkOption {
|
||||
type = nullOr str;
|
||||
description = "Email address of the user.";
|
||||
};
|
||||
options = {
|
||||
email = mkOption {
|
||||
type = nullOr str;
|
||||
description = "Email address of the user.";
|
||||
};
|
||||
|
||||
options.fullName = mkOption {
|
||||
type = nullOr str;
|
||||
description = "Full name of the user.";
|
||||
fullName = mkOption {
|
||||
type = nullOr str;
|
||||
description = "Full name of the user.";
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
|
Reference in New Issue
Block a user