From e6e85a9310b9cc17aca1db28cf00436714430007 Mon Sep 17 00:00:00 2001 From: Jo Date: Wed, 25 Dec 2024 23:34:21 +0100 Subject: [PATCH] feat(modules/home): add module for user configuration --- modules/home/user/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/home/user/default.nix diff --git a/modules/home/user/default.nix b/modules/home/user/default.nix new file mode 100644 index 0000000..e375051 --- /dev/null +++ b/modules/home/user/default.nix @@ -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."; + }; +}