dotfiles/nixcfgs/modules/home/options.nix

55 lines
1.4 KiB
Nix

{
lib,
config,
...
}: {
options.currentUser = {
defaultShell = lib.mkOption {
type = lib.types.enum ["zsh" "bash" "fish"];
default = "zsh";
description = "The default shell to use.";
};
defaultTerminal = lib.mkOption {
type = lib.types.str;
default = "ghostty";
description = "The default terminal emulator.";
};
defaultTerminalRunner = lib.mkOption {
type = lib.types.str;
default = config.currentUser.defaultTerminal;
description = "The default terminal emulator to run CLI softwares directly";
};
defaultExplorer = lib.mkOption {
type = lib.types.str;
default = "thunar";
description = "The default file explorer";
};
defaultTerminalExplorer = lib.mkOption {
type = lib.types.str;
default = "yazi";
description = "The default file explorer with TUI";
};
iconTheme = lib.mkOption {
type = lib.types.str;
default = "Breeze";
description = "Default icon theme";
};
};
options.currentHost = {
keyboardBacklightDevice = lib.mkOption {
type = lib.types.str;
default = "";
description = "Device Identifier that used for brightnessctl, get the identifier via brightnessctl --list";
};
keyboardBacklightStep = lib.mkOption {
type = lib.types.str;
default = "34%";
description = "Step to change keyboard backlight, integer or percentage accepted";
};
};
}