heavily inspired by https://github.com/breuerfelix/dotfiles.git thanks!
the installation instructions are not updated for my flake version.
# install nix
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume --daemon
sudo reboot
nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin
nix-channel --update
nix-shell '<darwin>' -A installer
darwin-rebuild switch
# install these dotfiles
git clone https://github.com/reiferschris/dotfiles.git ~/.nixpkgs
darwin-rebuild switch
# 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.nix
is the home-manager entrypoint for ssh serversmac.nix
is the home-manager entrypoint for macosdarwin-configuration.nix
is the entrypoint for macos system
- distro: macOS / Nixos
- window manager: yabai
- bar: übersicht
- terminal: wezterm + tmux/zellij
- shell: zsh + pretzo
- editor: neovim