mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
still working
This commit is contained in:
parent
64235f2775
commit
0712b63194
14 changed files with 508 additions and 174 deletions
83
modules/alacritty/default.nix
Normal file
83
modules/alacritty/default.nix
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
{ pkgs, lib, config, ... } =
|
||||
|
||||
with lib;
|
||||
let cfg = config.modules.alacritty;
|
||||
|
||||
in {
|
||||
options.modules.alacritty = { enable = mkEnableOption "alacritty"; };
|
||||
config = mkIf cfg.enable {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
||||
scrolling = {
|
||||
history = 10000;
|
||||
multiplier = 3;
|
||||
};
|
||||
|
||||
window = {
|
||||
opacity = 0.95;
|
||||
};
|
||||
|
||||
colors = {
|
||||
primary = {
|
||||
background = 0x0d1117;
|
||||
foreground = 0xb3b1ad;
|
||||
};
|
||||
|
||||
normal = {
|
||||
black = 0x484f58;
|
||||
red = 0xff7b72;
|
||||
green = 0x3fb950;
|
||||
yellow = 0xd29922;
|
||||
blue = 0x58a6ff;
|
||||
magenta = 0xbc8cff;
|
||||
cyan = 0x39c5cf;
|
||||
white = 0xb1bac4;
|
||||
};
|
||||
|
||||
bright = {
|
||||
black = 0x6e7681;
|
||||
red = 0xffa198;
|
||||
green = 0x56d364;
|
||||
yellow = 0xe3b341;
|
||||
blue = 0x79c0ff;
|
||||
magenta = 0xd2a8ff;
|
||||
cyan = 0x56d4dd;
|
||||
white = 0xf0f6fc;
|
||||
};
|
||||
|
||||
font = {
|
||||
normal = {
|
||||
family = TerminusWithNerdFont;
|
||||
style = Medium;
|
||||
};
|
||||
|
||||
bold = {
|
||||
family = TerminusWithNerdFont;
|
||||
style = Bold;
|
||||
};
|
||||
|
||||
italic = {
|
||||
family = TerminusWithNerdFont;
|
||||
style = Medium Italic;
|
||||
};
|
||||
|
||||
bold_italic = {
|
||||
family = TerminusWithNerdFont;
|
||||
style = Bold Italic;
|
||||
};
|
||||
|
||||
size = 14;
|
||||
|
||||
cursor = {
|
||||
color = 0xffffff;
|
||||
style = {
|
||||
shape = Block;
|
||||
blinking = Always;
|
||||
blink-interval = 750;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue