Re-add alacritty

This commit is contained in:
Oliver Davies 2024-06-15 12:17:07 +01:00
parent 41386749b8
commit 25b286786d
4 changed files with 37 additions and 2 deletions

View file

@ -6,6 +6,7 @@
}:
{
imports = [
./modules/alacritty.nix
./modules/autorandr.nix
./modules/awesome.nix
./modules/copyq.nix

View file

@ -0,0 +1,34 @@
{ 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

@ -8,7 +8,7 @@ in
tmuxinator.enable = true;
terminal = "xterm-256color";
terminal = "tmux-256color";
extraConfig = ''
unbind C-b

View file

@ -6,7 +6,7 @@
# fc-list : family | sort | grep "Nerd Font"
package = pkgs.nerdfonts.override { fonts = [ "Meslo" ]; };
size = "14";
size = "10";
};
};
}