88 lines
1.8 KiB
Nix
88 lines
1.8 KiB
Nix
{ config, pkgs, inputs, ... }:
|
|
|
|
{
|
|
# Home Manager needs a bit of information about you and the paths it should manage
|
|
home.username = "crib";
|
|
home.homeDirectory = "/home/crib";
|
|
|
|
# Packages to install for this user
|
|
home.packages = with pkgs; [
|
|
# Browsers
|
|
firefox
|
|
|
|
# Communication
|
|
discord
|
|
|
|
# Media
|
|
mpv
|
|
|
|
# Text editors
|
|
vscode
|
|
|
|
# Terminal tools
|
|
neofetch
|
|
|
|
# Additional ricing tools
|
|
cava # Audio visualizer
|
|
cmatrix # Matrix effect
|
|
pipes # Animated pipes
|
|
];
|
|
|
|
# Import Hyprland home config
|
|
imports = [
|
|
./hyprland.nix
|
|
./waybar.nix
|
|
];
|
|
|
|
# Git configuration (updated API)
|
|
programs.git = {
|
|
enable = true;
|
|
settings = {
|
|
user = {
|
|
name = "Your Name";
|
|
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#myhost";
|
|
};
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
theme = "robbyrussell";
|
|
plugins = [ "git" "sudo" "docker" "kubectl" ];
|
|
};
|
|
};
|
|
|
|
# Kitty terminal configuration (updated API)
|
|
programs.kitty = {
|
|
enable = true;
|
|
themeFile = "tokyo_night_night";
|
|
font.name = "JetBrainsMono Nerd Font";
|
|
font.size = 12;
|
|
settings = {
|
|
background_opacity = "0.9";
|
|
confirm_os_window_close = 0;
|
|
};
|
|
};
|
|
|
|
# This value determines the Home Manager release
|
|
home.stateVersion = "24.05";
|
|
|
|
# Let Home Manager install and manage itself
|
|
programs.home-manager.enable = true;
|
|
}
|