NixOS & Home Manager Config
Go to file
2025-01-09 12:01:35 -05:00
bash add(base): thefuck & neotree bindings 2024-07-25 12:29:25 -04:00
direnv add direnv 2022-12-02 18:42:53 -05:00
ghostty add ghostty and remove kitty 2025-01-09 12:01:35 -05:00
git add(git): global gitignore 2024-04-03 17:33:37 -04:00
htop more kitty & neofetch config 2022-12-07 17:04:55 -05:00
neofetch add ghostty and remove kitty 2025-01-09 12:01:35 -05:00
nvim update nix 2024-12-16 23:35:12 -05:00
powerline feat(nvim): dap support, fix(nvim): eslint & prettier formatting 2024-02-06 09:17:44 -05:00
readline WhichKey, ToggleTerm, Silicon 2022-12-04 14:34:34 -05:00
.gitignore WhichKey, ToggleTerm, Silicon 2022-12-04 14:34:34 -05:00
home.nix add ghostty and remove kitty 2025-01-09 12:01:35 -05:00
README.md update nix 2024-12-16 23:35:12 -05:00

Nix Home Manager Configuration

Upgrade

# Update System Channels
sudo nix-channel --add https://nixos.org/channels/nixpkgs-24.11-darwin nixpkgs
sudo nix-channel --update

# Update Home Manager
nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz home-manager
nix-channel --update

# Build Home Manager
home-manager switch

Clean Garbage

NOTE: This will remove previous generations

sudo nix-collect-garbage --delete-old
nix-collect-garbage --delete-old

OS Update

/etc/bashrc may get overridden. To properly load Nix, prepend the following:

# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
  . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix