26 lines
704 B
Nix
26 lines
704 B
Nix
{ lib, ... }:
|
|
{
|
|
options.flake.modules = lib.mkOption {
|
|
type = lib.types.attrsOf (lib.types.lazyAttrsOf lib.types.raw);
|
|
default = { };
|
|
description = "Reusable NixOS/Darwin/home-manager modules keyed by type and name";
|
|
};
|
|
|
|
options.flake.globalConfig = {
|
|
username = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "dennis";
|
|
description = "Primary username for the system";
|
|
};
|
|
fullname = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "Dennis Schoepf";
|
|
description = "Full Name of the user";
|
|
};
|
|
email = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "me@dnsc.io";
|
|
description = "Full Name of the user";
|
|
};
|
|
};
|
|
}
|