Try using wezterm as my default terminal

This commit is contained in:
Oliver Davies 2024-05-31 19:13:23 +01:00
parent 430ea10ef6
commit a29372ef99
5 changed files with 22 additions and 38 deletions
lib/nixos/home-manager

View file

@ -1,6 +1,5 @@
{ config, inputs, pkgs, username, }: {
imports = [
./modules/alacritty.nix
./modules/copyq.nix
./modules/dunst.nix
./modules/espanso.nix

View file

@ -1,34 +0,0 @@
{ lib, pkgs, self, ... }:
let
inherit (lib) strings;
inherit (strings) toInt;
theme = import "${self}/lib/theme" { inherit pkgs; };
in {
programs.alacritty = {
enable = true;
settings = {
env = {
TERM = "screen-256color";
};
window.padding = {
x = 15;
y = 15;
};
font = {
size = toInt "${theme.fonts.monospace.size}";
bold.style = "Regular";
normal.family = "${theme.fonts.monospace.name}";
offset.y = 12;
glyph_offset.y = 6;
};
shell = { program = "zsh"; };
};
};
}

View file

@ -115,7 +115,7 @@
eDP-1 = { scale = "1.0"; };
};
terminal = "alacritty";
terminal = "wezterm";
window.border = 3;
};