From 7b32c75ce505d719607a83a853848ea4d6634b4d Mon Sep 17 00:00:00 2001 From: Zephrynis Date: Sun, 26 Oct 2025 21:42:25 +0000 Subject: [PATCH] Enable Alacritty and update user config Alacritty terminal emulator is now enabled with custom settings for window opacity, padding, font, and colors. Updated Git userName and userEmail to Zephrynis, and added a new shell alias 'update-laptop' for rebuilding NixOS on the laptop. --- home/home.nix | 43 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/home/home.nix b/home/home.nix index fca62bf..07b6c7a 100644 --- a/home/home.nix +++ b/home/home.nix @@ -17,7 +17,7 @@ # chromium # Terminal emulators - # alacritty + alacritty # kitty # wezterm @@ -59,8 +59,8 @@ # Git configuration programs.git = { enable = true; - userName = "Your Name"; - userEmail = "your.email@example.com"; + userName = "Zephrynis"; + userEmail = "zephrynis.yt@gmail.com"; }; # Terminal configuration @@ -72,7 +72,8 @@ shellAliases = { ll = "ls -la"; - update = "sudo nixos-rebuild switch --flake .#my-machine"; + # update = "sudo nixos-rebuild switch --flake .#my-machine"; + update-laptop = "cd /home/zephrynis/nix-flake && git pull && sudo nixos-rebuild switch --flake .#laptop"; # Add more aliases }; @@ -100,6 +101,40 @@ # }; # }; + # Alacritty terminal emulator + programs.alacritty = { + enable = true; + settings = { + window = { + opacity = 0.9; + padding = { + x = 10; + y = 10; + }; + }; + + font = { + normal = { + family = "FiraCode Nerd Font"; + style = "Regular"; + }; + size = 11.0; + }; + + colors = { + primary = { + background = "#1e1e2e"; + foreground = "#cdd6f4"; + }; + }; + + # Uncomment and customize as needed + # cursor = { + # style = "Block"; + # }; + }; + }; + # GTK theming gtk = { enable = true;