terminal emulator exploration: sticking with alacritty for now

This commit is contained in:
Haak Saxberg 2024-03-15 22:32:21 -07:00
parent b73ebb0758
commit caa1b407ec
3 changed files with 45 additions and 1 deletions

View file

@ -29,7 +29,12 @@ let
];
in
{
imports = [ (import ./commandline.nix) (import ./programs/alacritty) ];
imports = [
(import ./commandline.nix)
(import ./programs/alacritty)
# (import ./programs/kitty)
# (import ./programs/wezterm)
];
nixpkgs.overlays = [ (import ../overlays/paperwm.nix) ];

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
programs.kitty = {
enable = true;
font = { name = "monospace"; size = 14; };
};
}

View file

@ -0,0 +1,32 @@
{ pkgs, ... }:
{
programs.wezterm = {
enable = true;
enableZshIntegration = true;
extraConfig = ''
-- Pull in the wezterm API
local wezterm = require 'wezterm';
-- This will hold the configuration.
local config = wezterm.config_builder();
config.unix_domains = {
{
name = 'unix',
},
};
-- This causes `wezterm` to act as though it was started as
-- `wezterm connect unix` by default, connecting to the unix
-- domain on startup.
-- If you prefer to connect manually, leave out this line.
config.default_gui_startup_args = { 'connect', 'unix' };
config.font_size = 14.0;
config.hide_tab_bar_if_only_one_tab = true;
config.tab_bar_at_bottom=true;
return config;
'';
};
}