mirror of
https://github.com/nmasur/dotfiles
synced 2025-03-14 16:57:06 +00:00
24 lines
475 B
Nix
24 lines
475 B
Nix
{
|
|
lib,
|
|
hostnames,
|
|
...
|
|
}:
|
|
|
|
{
|
|
options.nmasur.settings = {
|
|
username = lib.mkOption {
|
|
type = lib.types.str;
|
|
description = "Primary username for the system";
|
|
};
|
|
fullName = lib.mkOption {
|
|
type = lib.types.str;
|
|
description = "Human readable name of the user";
|
|
};
|
|
hostnames = lib.mkOption {
|
|
type = lib.types.attrsOf lib.types.str;
|
|
description = "Map of service names to FQDNs";
|
|
default = hostnames;
|
|
};
|
|
};
|
|
}
|