Add clipbook

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-02-13 13:41:03 +00:00
parent 97a042adcd
commit c907cdeca6
11 changed files with 203 additions and 31 deletions

View File

@@ -1,28 +1,27 @@
{ 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); };
users.users =
let
userOptions =
{ 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
mkOption { type = attrsOf (submodule userOptions); };
};
}