⚙️ My personal and professional development environment setup and configuration
I've used the DeterminateSystems installer.
(This is mostly to use casks to install GUI applications.)
Use the instructions on brew.sh.
If the current hostname and username of are already defined in the nix-darwin config you can run nix-darwin
to bootstrap the machine.
nix run nix-darwin -- switch --flake 'github:sloanelybutsurely/dotfiles?dir=.config/nix-darwin'
New hostname or username
If you're setting up a brand new machine or using a new username you'll have to clone this repo and update the nix-darwin
config to include the new hostname and/or username.
If you commit and push these changes you can continue these instructions from the above.
If you want to bootstrap from a local copy of this repo you can run nix-darwin
:
nix run nix-darwin -- switch --flake /path/to/.config/nix-darwin
chsh -s /run/current-system/sw/bin/fish
This will let the new shell take hold.
Once setup you can fetch a local copy of the nix-darwin config and some remaining dotfiles.
# yadm should have been installed by
yadm clone git@github.com:sloanelybutsurely/dotfiles.git