Soikr's Darwindots (Soon Monorepo)!
A usable, performance oriented, and practical setup (2013 iMac)
Installation (NEEDS TO BE REWORKED)
1. Installing nix (lix):
curl -sSf -L https://install.lix.systems/lix | sh -s -- install2. Clone the repo into a designated spot in your home folder (ie. ~/.nixpgs):
nix shell --extra-experimental-features 'nix-command flakes' nixpkgs#git nixpkgs#vim
git clone https://github.com/SoiKr/darwindots ~/.nixconf
cd ~/.nixconf3. Edit the configuration, especially the username and hostname
Important
Dont forget to set your system hostname and user to this.
4. Setting up nix-darwin and applying the config:
sudo nix run nix-darwin/master#darwin-rebuild -- switch .#Note
It may error due to missing XCode, you might have to install this.
Its too inconsistent to install through Nix.
Please reboot after this.
Applying changes from the config
darwin-rebuild switch --flake ~/.nixconfUpdating
nix flake update # All Inputs
nix flake lock --update-input <input> # Single InputPreset ZSH Aliases for managing nix:
dr = darwin-rebuild switch --flake ~/.nixconf # Darwin
nim = "vim ~./.nixconf"
nsearch = "nix search nixpkgs"
ngc = "nix-collect-garbage -d && && nix store optimise"
nv = "nix store verify"
Additional configuration steps:
- Initialize a rustup toolchain. (ie.
rustup toolchain install stable) - Configure Zen Browser, Tailscale, Syncthing, Discord
- Launch Raycast, KeePassXC
- Set wallpaper
Resources
Credits
Code formatted with Alejandra
- You can do this with
nix fmt
Thanks for all the public github repos and software (I couldn't list every resource here) <3
