mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-26 16:43:09 +01:00
35 lines
709 B
Nix
35 lines
709 B
Nix
{ pkgs, config, lib, ... }:
|
|
|
|
let
|
|
palette = config.colorScheme.palette;
|
|
inherit (import ../../options.nix) alacritty;
|
|
in lib.mkIf (alacritty == true) {
|
|
programs.alacritty = {
|
|
enable = true;
|
|
settings = {
|
|
window = {
|
|
padding.x = 15;
|
|
padding.y = 15;
|
|
decorations = "none";
|
|
startup_mode = "Windowed";
|
|
dynamic_title = true;
|
|
opacity = 0.85;
|
|
};
|
|
cursor = {
|
|
style = {
|
|
shape = "Beam";
|
|
blinking = "On";
|
|
};
|
|
};
|
|
live_config_reload = true;
|
|
font = {
|
|
normal.family = "JetBrainsMono Nerd Font";
|
|
bold.family = "JetBrainsMono Nerd Font";
|
|
italic.family = "JetBrainsMono Nerd Font";
|
|
bold_italic.family = "JetBrainsMono Nerd Font";
|
|
size = 14;
|
|
};
|
|
};
|
|
};
|
|
}
|