nix-config/modules/default/common/options.nix
2025-01-04 18:52:10 +01:00

52 lines
925 B
Nix

{ lib, config, ... }:
{
options = {
common = {
builder.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
};
desktop = {
enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
emulation.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
dev.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
laser.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
autologin.enable = lib.mkOption {
default = config.desktop.enable;
type = lib.types.bool;
};
windowManager = lib.mkOption {
default = "Hyprland";
type = lib.types.str;
};
};
server.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
};
}