Files
nixos/modules/essentials/options.nix
T
2025-08-04 17:12:35 +03:00

27 lines
486 B
Nix

{
config,
...
}:
{
options = {
device = {
type = lib.mkOption {
type = lib.types.enum [
"minimal"
"primary"
"server"
"vds"
"wsl"
];
default = "minimal";
description = "Type of device for this host.";
};
username = lib.mkOption {
type = lib.types.str;
default = "${inputs.zeroq.devices.admin}";
description = "Username for host";
};
};
};
}