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