Refactor obsidian options module

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-07-12 12:54:13 +03:00
parent 60f12e7aa5
commit 124f6ab292
4 changed files with 192 additions and 66 deletions

View File

@@ -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