Skip to content

Soikr/darwindots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soikr's Darwindots (Soon Monorepo)!

Preview

A usable, performance oriented, and practical setup (2013 iMac)

Installation

1. Installing nix (lix):

# Select NO for determinate option
curl -sSf -L https://install.lix.systems/lix | sh -s -- install

2. 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 ~/.nixconf

3. 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 ~/.nixconf

Updating

nix flake update # All Inputs
nix flake lock --update-input <input> # Single  Input

Preset 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:

  1. Initialize a rustup toolchain. (ie. rustup toolchain install stable)
  2. Configure Zen Browser, Tailscale, Syncthing, Discord
  3. Launch Raycast, KeePassXC
  4. Set wallpaper

Resources

nix-darwin Page

nix-darwin Options

home-manager Options

Aerospace Guide

Sketchybar Guide

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

About

Nix-managed MacOS system (intel) with use of nix-darwin and home-manager.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •