2024-04-04 00:50:53 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
options = {
|
|
|
|
host = {
|
|
|
|
user = lib.mkOption {
|
|
|
|
type = lib.types.str;
|
|
|
|
description = "Primary human user";
|
|
|
|
};
|
|
|
|
fullName = lib.mkOption {
|
|
|
|
type = lib.types.str;
|
|
|
|
description = "Primary human users long name";
|
|
|
|
};
|
|
|
|
gui.enable = lib.mkEnableOption {
|
|
|
|
description = "enable GUI";
|
|
|
|
default = false;
|
|
|
|
};
|
2024-04-11 21:52:29 +02:00
|
|
|
isLaptop = lib.mkEnableOption {
|
|
|
|
description = "machine is a laptop";
|
|
|
|
default = false;
|
2024-04-09 23:59:34 +02:00
|
|
|
};
|
2024-04-11 21:52:29 +02:00
|
|
|
isVm = lib.mkEnableOption {
|
|
|
|
description = "machine is a virtual machine";
|
|
|
|
default = false;
|
2024-04-09 23:59:34 +02:00
|
|
|
};
|
2024-05-08 05:20:11 +02:00
|
|
|
isSever = lib.mkEnableOption {
|
|
|
|
description = "machine is primarily a server";
|
|
|
|
default = false;
|
|
|
|
};
|
2024-04-04 00:50:53 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|