2024-05-28 14:38:22 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2023-05-02 22:47:01 +02:00
|
|
|
|
2024-04-28 03:53:21 +02:00
|
|
|
let
|
2024-12-19 01:26:25 +01:00
|
|
|
nixGL = config.lib.nixGL.wrap;
|
2024-05-28 14:38:22 +02:00
|
|
|
in
|
|
|
|
{
|
2023-05-02 22:47:01 +02:00
|
|
|
programs.alacritty = {
|
2024-02-01 15:21:49 +01:00
|
|
|
enable = if config.machine.isGraphical then true else false;
|
2024-04-28 03:53:21 +02:00
|
|
|
package = (nixGL pkgs.alacritty);
|
2023-05-02 23:16:23 +02:00
|
|
|
settings = {
|
|
|
|
window = {
|
|
|
|
decorations = "full";
|
|
|
|
dynamic_title = true;
|
|
|
|
};
|
2024-02-18 23:04:50 +01:00
|
|
|
window.opacity = 0.9;
|
2023-05-02 23:16:23 +02:00
|
|
|
font = {
|
|
|
|
normal = {
|
|
|
|
family = "JetbrainsMono NFM";
|
|
|
|
style = "Regular";
|
|
|
|
};
|
|
|
|
bold = {
|
|
|
|
family = "JetbrainsMono NFM";
|
|
|
|
style = "Bold";
|
|
|
|
};
|
2024-02-18 23:04:50 +01:00
|
|
|
size = 12;
|
2023-05-02 23:16:23 +02:00
|
|
|
};
|
|
|
|
cursor.style.shape = "Beam";
|
|
|
|
colors = {
|
|
|
|
primary = {
|
|
|
|
background = "0x282a36";
|
|
|
|
foreground = "0xeff0eb";
|
2023-05-02 22:47:01 +02:00
|
|
|
};
|
2023-05-02 23:16:23 +02:00
|
|
|
normal = {
|
|
|
|
black = "0x282a36";
|
|
|
|
red = "0xff5c57";
|
|
|
|
green = "0x5af78e";
|
|
|
|
yellow = "0xf3f99d";
|
|
|
|
blue = "0x57c7ff";
|
|
|
|
magenta = "0xff6ac1";
|
|
|
|
cyan = "0x9aedfe";
|
|
|
|
white = "0xf1f1f0";
|
2023-05-02 22:47:01 +02:00
|
|
|
};
|
2023-05-02 23:16:23 +02:00
|
|
|
bright = {
|
|
|
|
black = "0x686868";
|
|
|
|
red = "0xff5c57";
|
|
|
|
green = "0x5af78e";
|
|
|
|
yellow = "0xf3f99d";
|
|
|
|
blue = "0x57c7ff";
|
|
|
|
magenta = "0xff6ac1";
|
|
|
|
cyan = "0x9aedfe";
|
|
|
|
white = "0xf1f1f0";
|
2023-05-02 22:47:01 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-05-02 23:16:23 +02:00
|
|
|
};
|
2023-05-02 22:47:01 +02:00
|
|
|
}
|