mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-22 16:08:50 +01:00
61 lines
1.3 KiB
Nix
61 lines
1.3 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
let
|
|
nixGL = import ./../../home-manager/utils/nixGLWrap.nix { inherit pkgs config; };
|
|
in
|
|
{
|
|
programs.alacritty = {
|
|
enable = if config.machine.isGraphical then true else false;
|
|
package = (nixGL pkgs.alacritty);
|
|
settings = {
|
|
window = {
|
|
decorations = "full";
|
|
dynamic_title = true;
|
|
};
|
|
window.opacity = 0.9;
|
|
font = {
|
|
normal = {
|
|
family = "JetbrainsMono NFM";
|
|
style = "Regular";
|
|
};
|
|
bold = {
|
|
family = "JetbrainsMono NFM";
|
|
style = "Bold";
|
|
};
|
|
size = 12;
|
|
};
|
|
cursor.style.shape = "Beam";
|
|
colors = {
|
|
primary = {
|
|
background = "0x282a36";
|
|
foreground = "0xeff0eb";
|
|
};
|
|
normal = {
|
|
black = "0x282a36";
|
|
red = "0xff5c57";
|
|
green = "0x5af78e";
|
|
yellow = "0xf3f99d";
|
|
blue = "0x57c7ff";
|
|
magenta = "0xff6ac1";
|
|
cyan = "0x9aedfe";
|
|
white = "0xf1f1f0";
|
|
};
|
|
bright = {
|
|
black = "0x686868";
|
|
red = "0xff5c57";
|
|
green = "0x5af78e";
|
|
yellow = "0xf3f99d";
|
|
blue = "0x57c7ff";
|
|
magenta = "0xff6ac1";
|
|
cyan = "0x9aedfe";
|
|
white = "0xf1f1f0";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|