mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
22 lines
518 B
Nix
22 lines
518 B
Nix
{ config, pkgs, lib, ...}:
|
|
{
|
|
options.variables = with lib; {
|
|
hostName = mkOption {
|
|
type = types.str;
|
|
example = "nucturne";
|
|
description = "Hostname of the system";
|
|
default = "hostnamenotset";
|
|
};
|
|
graphical = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = "Whether to enable the graphical environment";
|
|
};
|
|
server = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = "Whether this system is a server";
|
|
};
|
|
};
|
|
}
|