Files
nixos-config/home/home.nix
2025-11-20 18:48:39 +01:00

107 lines
2.0 KiB
Nix
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{ config, pkgs, inputs, ... }:
{
home.username = "YOURUSERNAME";
home.homeDirectory = "/home/YOURUSERNAME";
# Packages to install for this user
home.packages = with pkgs; [
# Browsers
chromium
# Communication
discord
# Media
mpv
# Text editors
vscode
# Terminal tools
fastfetch
# Additional ricing tools
cava # Audio visualizer
cmatrix # Matrix effect
pipes # Animated pipes
# Screenshot tools
slurp
grim
# Color tools
python311Packages.pywal
];
# Import module configs
imports = [
./hyprland.nix
./waybar.nix
./rofi.nix
./kitty.nix
];
# Git configuration
programs.git = {
enable = true;
settings = {
user = {
name = "YOURUSERNAME";
email = "your.email@example.com";
};
};
};
# ZSH configuration
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
ll = "eza -la";
ls = "eza";
cat = "bat";
vim = "nvim";
update = "sudo nixos-rebuild switch --flake ~/.config/nixos#cribnix";
rebuild = "sudo nixos-rebuild switch --flake ~/.config/nixos#cribnix";
};
oh-my-zsh = {
enable = true;
theme = "robbyrussell";
plugins = [ "git" "sudo" ];
};
};
# Starship prompt (vyrx uses this)
programs.starship = {
enable = true;
settings = {
add_newline = false;
format = "$directory$git_branch$git_status$character";
directory = {
truncation_length = 3;
truncate_to_repo = true;
};
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red)";
};
git_branch = {
format = "[$symbol$branch]($style) ";
style = "bold purple";
};
};
};
# Home Manager
home.stateVersion = "24.05";
programs.home-manager.enable = true;
}