mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
27 lines
486 B
Nix
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";
|
|
};
|
|
};
|
|
};
|
|
}
|