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

25
modules/home/term.nix Normal file
View File

@@ -0,0 +1,25 @@
{ 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;
};
};
programs.alacritty = mkIf (cfg.terminal == "alacritty") {
enable = true;
};
};
}