This is mainly a backup of my dotfiles and system configuration files. It is tailored to my needs and preferences, but feel free to use it as a reference or inspiration for your own configuration.
The configuration is based on NixOS, which is a declarative system configuration tool. I have been inspired by many other dotfiles repositories, but I have tried to make this configuration as minimal as possible. Here are the main references that I have used:
Install NixOS and clone this repository to your home directory.
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
git clone https://github.com/frodeanonsen/dotfiles ~/.dotfiles
Build the system configuration and switch to it.
nix build .#darwinConfigurations.MacBookApple.system
./result/sw/bin/darwin-rebuild switch --flake .#MacBookApple
cd ~/.dotfiles
./update.sh