Reorganize imports

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-12-21 23:32:29 +02:00
parent 0ae56e6e25
commit 98ce774210
189 changed files with 253 additions and 260 deletions

View File

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