Files
nix-flake/home/home.nix
Zephrynis 7b32c75ce5 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.
2025-10-26 21:42:25 +00:00

163 lines
3.0 KiB
Nix

{ config, pkgs, ... }:
{
# Home Manager configuration for user-level dotfiles and applications
home.username = "yourusername"; # Change this
home.homeDirectory = "/home/yourusername"; # Change this
# Packages to install for this user
home.packages = with pkgs; [
# Development tools
vscode
# neovim
# Browsers
firefox
# chromium
# Terminal emulators
alacritty
# kitty
# wezterm
# File managers
# thunar
# ranger
# nnn
# Media
# mpv
# vlc
# spotify
# Communication
# discord
# slack
# Screenshots and screen recording
# flameshot
# maim
# obs-studio
# System utilities
# rofi
# dunst
# polybar
# picom
# Ricing essentials
# lxappearance
# nitrogen # wallpaper setter
# pywal # color scheme generator
# Themes and icons
# papirus-icon-theme
# arc-theme
];
# Git configuration
programs.git = {
enable = true;
userName = "Zephrynis";
userEmail = "zephrynis.yt@gmail.com";
};
# Terminal configuration
programs.zsh = {
enable = true;
enableCompletion = true;
# autosuggestion.enable = true;
# syntaxHighlighting.enable = true;
shellAliases = {
ll = "ls -la";
# 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
};
# oh-my-zsh = {
# enable = true;
# theme = "robbyrussell";
# plugins = [ "git" "sudo" ];
# };
};
# Bash configuration (if you prefer bash)
programs.bash = {
enable = true;
shellAliases = {
ll = "ls -la";
update = "sudo nixos-rebuild switch --flake .#my-machine";
};
};
# Starship prompt
# programs.starship = {
# enable = true;
# settings = {
# add_newline = false;
# };
# };
# 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;
# theme = {
# name = "Arc-Dark";
# package = pkgs.arc-theme;
# };
# iconTheme = {
# name = "Papirus-Dark";
# package = pkgs.papirus-icon-theme;
# };
};
# Qt theming
# qt = {
# enable = true;
# platformTheme.name = "gtk";
# };
# Let Home Manager manage itself
programs.home-manager.enable = true;
# Home Manager state version
home.stateVersion = "25.05";
}