feat(modules/home): add module for user configuration

This commit is contained in:
Jo 2024-12-25 23:34:21 +01:00
parent 3dd6107871
commit e6e85a9310

View file

@ -0,0 +1,16 @@
{
lib,
namespace,
...
}:
let
inherit (lib.${namespace}) mkOpt;
in
{
options.${namespace}.user = with lib.types; {
name = mkOpt str "Jo" "The user's short name.";
fullName = mkOpt str "Johannes Reckers" "The user's full name.";
email = mkOpt str "reckers.johannes@proton.me" "The user's primary E-Mail address.";
icon = mkOpt str "./icon.jpg" "The path to the users prefered icon.";
};
}