nix-config/modules/default/nixos/options.nix
2025-02-09 16:49:24 +01:00

57 lines
1 KiB
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;
};
wm.plasma6.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
};
server.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
};
}