Skip to content

aldosch/nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❄️ nix

aldo's personal macos nix config.

example screenshot

installation

download and install nix

sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install)

download and install brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

create config dir

mkdir ~/.config

clone repo

cd ~/.config
git clone [email protected]:aldosch/nix.git

may require xcode command line tools to be installed via popup dialogue. could be simpler to download as .zip file.

commands

  • repo should be cloned to ~/.config/nix
  • commands should be run from here too.
  • replace min with actual hostname

build

nix build .#darwinConfigurations.min.system --extra-experimental-features 'nix-command flakes'

apply

sudo -E ./result/sw/bin/darwin-rebuild switch --flake .#min

cleanup

nix-collect-garbage -d

set fish shell

grep /run/current-system/sw/bin/fish /etc/shells || echo /run/current-system/sw/bin/fish | sudo tee -a /etc/shells
chsh -s /run/current-system/sw/bin/fish

disable cli greeting

touch ~/.hushlogin

set node version

fnm use 24
fnm default 24

ui based changes

  • finder
    • edit finder toolbar
    • cmd+j "Calculate all sizes"
    • show all filenames
    • search current folder by default
    • new windows open ~
    • edit sidebar
      • hide tags
  • 1password
    • set hotkey
    • search ssh and then setup cli developer tooling to manage ssh keys
  • disable spotlight keyboard shortcuts
  • alfred
    • register license
    • set preferences folder to ~/.config/alfred to import
    • set hotkey
  • chromium
    • search engine
    • default page zoom
    • default font
    • hide bookmarks bar
    • install custom new tab page extension
    • install chromium-web-store
      • set chrome://flags/#extension-mime-request-handling to Always prompt for install
    • install extensions
      • okta
    • install Tab Pinner
    • install Markprompt Agent Assist
    • install CSE internal extension
      • enable incognito access within chrome://extensions
  • manage default browsers with velja
  • cleanshot
    • register license
    • disable default shortcuts
    • set export location to ~/shots
    • set after capture steps
    • window screenshots transparent
    • hide/show overlays shortcut to cmd+shift+6
    • advanced
      • remove 2x retina suffix
      • file name: rm Cleanshot and set to UTC
  • ice set hidden apps
    • hide icon
    • hide all
  • slack: Accessibility > Keyboard > press up arrow to edit last message

TODO:

  • trackpad 3 finger swipe between fullscreen windows
    • don't need 3 finger drag on windows
  • disable macbook charging sound
    • defaults write com.apple.PowerChime ChimeOnAllHardware -bool false; killall PowerChime
  • set slack theme to system
  • prevent display sleep / screen saver when powered
  • remove spotlight menu bar icon
  • add itsycal
  • export PATH="/Users/aldo/.bun/bin:$PATH"
  • wallpaper
  • ice bar preferences
  • fuzzy find active window
  • terminal font size (or ghostty)

About

❄️ aldo's system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages