{ config, pkgs, ... }: { # Home Manager needs a bit of information about you and the paths it should manage home.username = "tbingmann"; home.homeDirectory = "/home/tbingmann"; # Basic configuration home.stateVersion = "25.05"; # Let Home Manager install and manage itself programs.home-manager.enable = true; # Nix configuration nix = { enable = true; package = pkgs.nix; settings = { experimental-features = ["nix-command" "flakes"]; warn-dirty = false; }; }; # Packages to install home.packages = with pkgs; [ ]; # Bash configuration programs.bash = { enable = true; enableCompletion = true; # Bash initialization initExtra = '' # Ensure Nix paths are properly set up export PATH="$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$PATH" export NIX_PATH="$HOME/.nix-defexpr/channels:nixpkgs=$HOME/.nix-defexpr/channels/nixpkgs" # Source nix environment if it exists and not already sourced if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ] && [ -z "$NIX_SOURCED" ]; then export NIX_SOURCED=1 . "$HOME/.nix-profile/etc/profile.d/nix.sh" fi ''; # History configuration historyControl = [ "erasedups" "ignoredups" "ignorespace" ]; historyFileSize = 1000000; historySize = 1000000; }; # Direnv configuration programs.direnv = { enable = true; nix-direnv.enable = true; # Add hook to .bashrc enableBashIntegration = true; }; }