28 lines
400 B
Nix
28 lines
400 B
Nix
{ lib
|
|
, pkgs
|
|
, config
|
|
, ...
|
|
}:
|
|
|
|
with lib; let
|
|
cfg = config.simmer.term;
|
|
in
|
|
{
|
|
|
|
config = {
|
|
programs.kitty = mkIf (cfg.terminal == "kitty") {
|
|
enable = true;
|
|
settings = {
|
|
confirm_os_window_close = 0;
|
|
};
|
|
font.name = mkIf (cfg.font == "codelia") "Codelia";
|
|
};
|
|
|
|
|
|
programs.alacritty = mkIf (cfg.terminal == "alacritty") {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
}
|