summaryrefslogtreecommitdiff
path: root/components/programs/alacritty.nix
diff options
context:
space:
mode:
authorLeonardo <noreply@leoflo.me>2026-02-28 16:27:59 +0100
committerLeonardo <noreply@leoflo.me>2026-02-28 19:02:07 +0100
commitbb11479130b0988e93408aa917cfc872d427d95f (patch)
tree58d37004d9529f927fcab0a5672bc6697d9b3c24 /components/programs/alacritty.nix
parent1507e4e369bd73b85f191fef20a7509283a418aa (diff)
downloadnixos-bb11479130b0988e93408aa917cfc872d427d95f.tar.gz
nixos-bb11479130b0988e93408aa917cfc872d427d95f.zip
nuovo layout
Diffstat (limited to 'components/programs/alacritty.nix')
-rw-r--r--components/programs/alacritty.nix53
1 files changed, 53 insertions, 0 deletions
diff --git a/components/programs/alacritty.nix b/components/programs/alacritty.nix
new file mode 100644
index 0000000..da80465
--- /dev/null
+++ b/components/programs/alacritty.nix
@@ -0,0 +1,53 @@
+{lib, config, ...}: {
+ options.alacritty.enable = lib.mkEnableOption "Alacritty's config";
+
+ config = lib.mkIf config.alacritty.enable {
+ programs.alacritty = {
+ enable = true;
+
+ settings = {
+ window = {
+ dimensions = { columns = 110; lines = 30; };
+ padding = { x = 0; y = 0; };
+ opacity = 1.0;
+ blur = false;
+ };
+
+ font = {
+ normal = { family = "IosevkaTerm NF"; style = "regular"; };
+ bold = { family = "IosevkaTerm NF"; style = "bold"; };
+ size = 14.00;
+ };
+
+ colors = {
+ primary = {
+ background = "#282c34";
+ foreground = "#abb2bf";
+ };
+
+ normal = {
+ black = "#1e2127";
+ red = "#e06c75";
+ green = "#98c379";
+ yellow = "#d19a66";
+ blue = "#61afef";
+ magenta = "#c678dd";
+ cyan = "#56b6c2";
+ white = "#abb2bf";
+ };
+
+ bright = {
+ black = "#5c6370";
+ red = "#e06c75";
+ green = "#98c379";
+ yellow = "#d19a66";
+ blue = "#61afef";
+ magenta = "#c678dd";
+ cyan = "#56b6c2";
+ white = "#ffffff";
+ };
+ };
+ };
+ };
+ };
+}