Skip to content

breuerfelix/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my dotfiles

i currently only use macos as my daily driver so this repository is really system specific. everything inside shell/ also works on linux.

programs

  • distro: macOS
  • window manager: aerospace
  • bar: spacebar
  • terminal: alacritty + zellij
  • shell: zsh
  • editor: neovim (configuration)

architecture

  • flake.nix
    • darwinConfigurations.brummi is the entrypoint for nix-darwin setup
    • homeConfigurations."SIT-SMBP-446M7F" is the entrypoint for home-manager only setup
  • darwin/ nix-darwin specific configuration
  • home-manager/ home-manager configuration
  • shell/ cross-platform shell configuration
  • github.com:breuerfelix/feovim neovim configuration

macos

# installation
# install nix via determinate
# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
git clone git@github.com:breuerfelix/dotfiles.git ~/.nixpkgs
# make sure your hostname is set to "brummi"
sudo reboot

# -- for nix-darwin only --
# build the system
cd ~/.nixpkgs
nix --experimental-features "nix-command flakes" build ".#darwinConfigurations.brummi.system"
# switch to new system
./result/sw/bin/darwin-rebuild switch --flake ~/.nixpkgs

# all in one command
nix run nix-darwin -- switch --flake ~/.nixpkgs

# -- for home-manager only --
nix --experimental-features "nix-command flakes" build ".#homeConfigurations.SIT-SMBP-446M7F.activationPackage"
./result/activate

manual steps:

  • enable brew services
    • brew services start borders
  • update secrets from secrets manager
  • change macOS keybindings
    • disable spotlight search
    • alt + q | w | e | r | t to space 1-5
    • disable input source swap keybindings
    • mission control to alt + b
  • import Nix Managed complex modification in Karabiner
  • login to arc and sync settings
  • use EURKey as keyboard layout
  • set universalaccess until fixed in darwin
    • reduceMotion
    • recuceTransparency - decide
  • configure applications
    • raycast (use import / export)
    • aldente
    • meetingbar
    • hiddenbar
    • time-out
    • apple calender / mail
    • slack / teams / signal
    • arc
  • enable icloud sync
  • login to vscode for settings sync
  • enable key repeat for vim extension in intellij and vscode
    • defaults write -g ApplePressAndHoldEnabled -bool false
  • connect bluetooth keyboard and select disable internal keyboard
  • defaults write -g NSWindowShouldDragOnGesture -bool true TODO: put into home manager config - this lets you drag and drop windows with aerospace by hold alt

update

# all inputs
nix flake update

# single input
nix flake update <input>