Add alacritty config and new font
This commit is contained in:
83
user/alacritty/default.nix
Normal file
83
user/alacritty/default.nix
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.alacritty = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
font = {
|
||||||
|
normal = {
|
||||||
|
family = "Iosevka";
|
||||||
|
style = "Regular";
|
||||||
|
};
|
||||||
|
size = 13;
|
||||||
|
|
||||||
|
colors = {
|
||||||
|
primary = {
|
||||||
|
background = "0x282a36";
|
||||||
|
foreground = "0xf8f8f2";
|
||||||
|
};
|
||||||
|
cursor = {
|
||||||
|
text = "CellBackground";
|
||||||
|
cursor = "CellForeground";
|
||||||
|
};
|
||||||
|
vi_mode_cursor = {
|
||||||
|
text = "CellBackground";
|
||||||
|
cursor = "CellForeground";
|
||||||
|
};
|
||||||
|
search = {
|
||||||
|
matches = {
|
||||||
|
foreground = "0x44475a";
|
||||||
|
background = "0x50fa7b";
|
||||||
|
};
|
||||||
|
focused_match = {
|
||||||
|
foreground = "0x44475a";
|
||||||
|
background = "0xffb86c";
|
||||||
|
};
|
||||||
|
bar = {
|
||||||
|
background = "0x282a36";
|
||||||
|
foreground = "0xf8f8f2";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
line_indicator = {
|
||||||
|
foreground = "None";
|
||||||
|
background = "None";
|
||||||
|
};
|
||||||
|
selection = {
|
||||||
|
text = "CellForeground";
|
||||||
|
background = "0x44475a";
|
||||||
|
};
|
||||||
|
normal = {
|
||||||
|
black = "0x000000";
|
||||||
|
red = "0xff5555";
|
||||||
|
green = "0x50fa7b";
|
||||||
|
yellow = "0xf1fa8c";
|
||||||
|
blue = "0xbd93f9";
|
||||||
|
magenta = "0xff79c6";
|
||||||
|
cyan = "0x8be9fd";
|
||||||
|
white = "0xbfbfbf";
|
||||||
|
};
|
||||||
|
bright = {
|
||||||
|
black = "0x4d4d4d";
|
||||||
|
red = "0xff6e67";
|
||||||
|
green = "0x5af78e";
|
||||||
|
yellow = "0xf4f99d";
|
||||||
|
blue = "0xcaa9fa";
|
||||||
|
magenta = "0xff92d0";
|
||||||
|
cyan = "0x9aedfe";
|
||||||
|
white = "0xe6e6e6";
|
||||||
|
};
|
||||||
|
dim = {
|
||||||
|
black = "0x14151b";
|
||||||
|
red = "0xff2222";
|
||||||
|
green = "0x1ef956";
|
||||||
|
yellow = "0xebf85b";
|
||||||
|
blue = "0x4d5b86";
|
||||||
|
magenta = "0xff46b0";
|
||||||
|
cyan = "0x59dffc";
|
||||||
|
white = "0xe6e6d1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
../alacritty
|
||||||
../i3
|
../i3
|
||||||
../neovim
|
../neovim
|
||||||
../polybar
|
../polybar
|
||||||
@@ -19,20 +20,20 @@
|
|||||||
services.dunst.enable = true;
|
services.dunst.enable = true;
|
||||||
|
|
||||||
home.packages =let
|
home.packages =let
|
||||||
|
|
||||||
i3utils = pkgs.lib.callPackageWith (pkgs) ../i3utils {};
|
i3utils = pkgs.lib.callPackageWith (pkgs) ../i3utils {};
|
||||||
in
|
in
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
alacritty
|
|
||||||
chezmoi
|
chezmoi
|
||||||
element-desktop
|
element-desktop
|
||||||
feh
|
feh
|
||||||
fzf
|
fzf
|
||||||
go_1_17
|
go_1_17
|
||||||
|
jetbrains.goland
|
||||||
i3
|
i3
|
||||||
i3lock
|
i3lock
|
||||||
i3utils
|
i3utils
|
||||||
|
iosevka
|
||||||
lazygit
|
lazygit
|
||||||
nerdfonts
|
nerdfonts
|
||||||
oh-my-zsh
|
oh-my-zsh
|
||||||
|
|||||||
Reference in New Issue
Block a user