feat(terminal): add enable option

This commit is contained in:
2026-05-22 10:22:37 +02:00
parent a3c24382f8
commit e84079647b
4 changed files with 11 additions and 2 deletions

View File

@@ -1,12 +1,18 @@
{
pkgs,
config,
lib,
pkgs,
dotsPath,
...
}:
let
cfg = config.terminal;
in
{
config = {
options.terminal.enable = lib.mkEnableOption "terminal";
config = lib.mkIf cfg.enable {
programs.bash.shellAliases = {
icat = "kitty +kitten icat";
};