Magical system and home configuration using Nix.
Any configuration files that are easier to write in another language or that can't be easily configured in Nix.
Host machines, by name.
spellbook
- MacBook Pro, mostly for work
Modules for Nix configurations
home-manager/
- all the modules that are managed by home-managerdarwin/
- all the modules that require special configuration for Nix Darwinnixos/
- all the modules that require special configuration for NixOSshared/
- all the modules that are shared between configurations
Overlay for specific packages I use. In need of heavily modification, going to
be migrating to pog
soon for scripts.
First, install nix
Then:
# warlock's first nix config
mkdir -p ~/.config/nix/
echo -e 'max-jobs = auto\ntarball-ttl = 0\nexperimental-features = nix-command flakes' >>~/.config/nix/nix.conf
# add current user as trusted
echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf && sudo pkill nix-daemon
git clone https://github.com/wuz/prst.git ~/.config/darwin
# change the name of the system configuration from `prst` to your hostname in flake.nix
cd ~/.config/darwin
nix run nix-darwin -- switch --flake ~/.config/darwin