test alacritty as default on laptop
nix flake show / show-flake (push) Successful in 27s

This commit is contained in:
smayzy
2025-07-24 17:59:39 +02:00
parent 1585912162
commit e5394dde16
4 changed files with 51 additions and 6 deletions
@@ -0,0 +1,48 @@
{ smayzy, lib, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.alacritty.enable = mkOption {
type = types.bool;
default = false;
description = "alacritty config";
};
config = mkIf smayzy.alacritty.enable {
programs.alacritty = {
enable = true;
settings = {
window = {
padding = {
x = 5;
y = 5;
};
};
font = {
normal = {
family = "JetBrainsMono Nerd Font";
style = "Medium";
};
bold = {
family = "JetBrainsMono Nerd Font";
style = "Bold";
};
italic = {
family = "JetBrainsMono Nerd Font";
style = "MediumItalic";
};
bold_italic = {
family = "JetBrainsMono Nerd Font";
style = "BoldItalic";
};
};
# colors = {
# primary = {
# background = "#000000";
# };
# };
};
};
};
}