nix-config/modules/nixos/options.nix
2025-05-30 21:10:10 +02: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;
};
};
}