2025-02-18 17:44:39 -05:00
|
|
|
{ lib, hostnames, ... }:
|
2025-02-08 12:58:06 -05:00
|
|
|
|
|
|
|
{
|
|
|
|
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";
|
|
|
|
};
|
2025-02-15 20:26:14 -05:00
|
|
|
hostnames = lib.mkOption {
|
2025-02-08 12:58:06 -05:00
|
|
|
type = lib.types.attrsOf lib.types.str;
|
|
|
|
description = "Map of service names to FQDNs";
|
2025-02-18 17:44:39 -05:00
|
|
|
default = hostnames;
|
2025-02-08 12:58:06 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|