mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-02-18 20:21:53 +00:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user