Files
nixos-config/home/home.nix
2025-11-19 08:42:21 +01:00

84 lines
1.7 KiB
Nix

{ config, pkgs, inputs, ... }:
{
# Home Manager needs a bit of information about you and the paths it should manage
home.username = "yourusername";
home.homeDirectory = "/home/yourusername";
# 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
programs.git = {
enable = true;
userName = "crib";
userEmail = "haugseth.martin@gmail.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
programs.kitty = {
enable = true;
theme = "Tokyo 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;
}