nix-config/modules/nixos/options.nix
2025-09-07 16:10:10 +02:00

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