NixOS & Home Manager Config
Go to file
2024-01-17 10:17:22 -05:00
bash Update Silicon & Alias 2023-04-25 09:36:54 -04:00
direnv add direnv 2022-12-02 18:42:53 -05:00
git update git config 2024-01-02 10:51:04 -05:00
htop more kitty & neofetch config 2022-12-07 17:04:55 -05:00
kitty Add Go LSP & Formatting 2023-08-31 09:04:37 -04:00
neofetch more kitty & neofetch config 2022-12-07 17:04:55 -05:00
nvim [add] nvim markdown preview and update 2024-01-17 10:17:22 -05:00
powerline Update Theme 2022-12-01 11:38:15 -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] nvim markdown preview and update 2024-01-17 10:17:22 -05:00
README.md [add] nvim markdown preview and update 2024-01-17 10:17:22 -05:00

Nix Home Manager Configuration

Upgrade

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

# Update Home Manager
nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.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