terminal emulator exploration: sticking with alacritty for now
This commit is contained in:
parent
b73ebb0758
commit
caa1b407ec
3 changed files with 45 additions and 1 deletions
|
|
@ -29,7 +29,12 @@ let
|
||||||
];
|
];
|
||||||
in
|
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) ];
|
nixpkgs.overlays = [ (import ../overlays/paperwm.nix) ];
|
||||||
|
|
||||||
|
|
|
||||||
7
nix/home/programs/kitty/default.nix
Normal file
7
nix/home/programs/kitty/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
font = { name = "monospace"; size = 14; };
|
||||||
|
};
|
||||||
|
}
|
||||||
32
nix/home/programs/wezterm/default.nix
Normal file
32
nix/home/programs/wezterm/default.nix
Normal 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;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue