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
|
# chromium
|
||||||
|
|
||||||
# Terminal emulators
|
# Terminal emulators
|
||||||
# alacritty
|
alacritty
|
||||||
# kitty
|
# kitty
|
||||||
# wezterm
|
# wezterm
|
||||||
|
|
||||||
@@ -59,8 +59,8 @@
|
|||||||
# Git configuration
|
# Git configuration
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Your Name";
|
userName = "Zephrynis";
|
||||||
userEmail = "your.email@example.com";
|
userEmail = "zephrynis.yt@gmail.com";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Terminal configuration
|
# Terminal configuration
|
||||||
@@ -72,7 +72,8 @@
|
|||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ll = "ls -la";
|
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
|
# 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 theming
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user