Add kitty terminal to alpheratz

This commit is contained in:
Ethan Simmons
2024-11-13 12:36:34 -06:00
parent 04696bfd6d
commit 5fb099f6fa
8 changed files with 58 additions and 8 deletions

26
modules/options/term.nix Normal file
View File

@@ -0,0 +1,26 @@
{ lib
, pkgs
, config
, ...
}:
with lib; let
cfg = config.simmer.term;
gui = config.simmer.gui;
in
{
options.simmer.term = {
enable = mkOption {
description = "Whether to install and configure a terminal";
type = types.bool;
default = gui.enable;
};
terminal = mkOption {
description = "Which terminal to install (alcritty, kitty)";
type = types.enum [ "alacritty" "kitty" ];
default = "alacritty";
};
};
}