heavily inspired by https://github.com/breuerfelix/dotfiles.git thanks!
the installation instructions are not updated for my flake version.
# install nix via determinate systems installer
# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
git clone https://github.com:reiferschris/dotfiles.git ~/.nixpkgs
# make sure your hostname is set to the correct machine
sudo reboot
# -- for nix-darwin only --
# build the system
cd ~/.nixpkgs
nix --experimental-features "nix-command flakes" build ".#darwinConfigurations.brummi.system"
# switch to new system
sudo ./result/sw/bin/darwin-rebuild switch --flake ~/.nixpkgs
# all in one command
nix run nix-darwin -- switch --flake ~/.nixpkgs# install nix
curl -L https://nixos.org/nix/install | sh
sudo reboot
. ~/.nix-profile/etc/profile.d/nix.sh
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
home-manager switch
# install these dotfiles
rm -rf ~/.config/nixpkgs
git clone https://github.com/reiferschris/dotfiles.git ~/.config/nixpkgs
home-manager switch
# change default shell to zsh
echo $(which zsh) | sudo tee -a /etc/shells
sudo chsh -s $(which zsh) $USER# all inputs
nix flake update
# single input
nix flake lock --update-input <input>home.nixis the home-manager entrypoint for ssh serversmac.nixis the home-manager entrypoint for macosdarwin-configuration.nixis the entrypoint for macos system
- distro: macOS / Nixos
- window manager: aerospace
- terminal: ghostty + zellij
- shell: zsh + pretzo
- editor: neovim