Add kitty terminal to alpheratz
This commit is contained in:
26
modules/options/term.nix
Normal file
26
modules/options/term.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user