This is a perpetually in motion config for my mac. Use at your own risk.
- Open a new Terminal
- Install Nix using https://docs.determinate.systems/
- Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - Close the Terminal app and open a new terminal
- Install git with Brew
brew install git(you may need to source brew) - Clone this repo to src (or modify below accordingly)
- Install the flake
sudo nix run nix-darwin -- switch --flake /Users/USERNAME/src/Ungyo-Nix/.#
Not run by default. Located in Modules/home-manager/dotfiles.
This shell script uses the defaults command to set the following:
- Turns off click on the desktop to show desktop behavior
- Turns on Dock Auto Hide
- Sets Dock tile size to 55
- Puts Dock on the Left Side
- Sets Trash to auto-empty items older than 30 days
- Sets default Finder view to List
- Turns off seperate spaces for each screen
Run nixclean to empty old build cache. Alias for nix-store --gc
Run nixup in the terminal to fully update the flake. Alias for pushd ~/src/Ungyo-nix; nix flake update; nixswitch; popd
darwin-rebuild switch --flake ~/src/Ungyo-nix/.#
cat = bat
cd = z
explorer = open (For when fingers forget it's not windows)
find = fd
la = lsd -la
ll = lsd -l
ls = lsd
powershell = pwsh
ps = procs
ssh = TERM=xterm-256color /usr/bin/ssh This avoids formatting issues when remoting to a system that does not understand the terminal type alacrity.
vi = hx