Add basic theme config

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-06-23 14:50:50 +03:00
parent 48f391e3ad
commit e7d328cab5
23 changed files with 554 additions and 188 deletions

View File

@@ -0,0 +1,22 @@
{ lib, ... }:
let
userOptions = with lib; with types; { config, ... }: {
options.email = mkOption {
type = nullOr str;
description = "Email address of the user.";
};
options.fullName = mkOption {
type = nullOr str;
description = "Full name of the user.";
};
};
in
{
options = with lib; with types; {
users.users = mkOption {
type = attrsOf (submodule userOptions);
};
};
}