This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

Nix 98.3%
Shell 1.7%
821 1 0

Clone this repository

https://tangled.org/ankarhem.dev/nix-config https://tangled.org/did:plc:rf2ua4cxz6pufj6sfjihlrut
git@knot.ankarhem.dev:ankarhem.dev/nix-config git@knot.ankarhem.dev:did:plc:rf2ua4cxz6pufj6sfjihlrut

For self-hosted knots, clone URLs may differ based on your setup.



README.md

nix-config#

Macos manual steps#

Prerequisites#

The user account / home map folder must be named ankarhem.

  1. Install Rosetta 2 softwareupdate --install-rosetta --agree-to-license
  2. Install nix using determinate systems. ❗NOT the determinate distribution
  3. Install colemak curl -O --output-dir ~/Library/Keyboard\ Layouts/ https://colemak.com/pub/mac/Colemak.keylayout
  4. Install git xcode-select --install
  5. Replace default colemak System Preferences > Keyboard > Input Sources
  6. Add access token to ~/.config/nix/nix.conf. mkdir -p ~/.config/nix && echo "access-tokens = github.com=ghp_*****" > ~/.config/nix/nix.conf
  7. Bootstrap darwin build nix run --extra-experimental-features flakes --extra-experimental-features nix-command nix-darwin -- switch --flake .#mbp
  8. Change shell with chsh -s /run/current-system/sw/bin/fish

Important#

  • Open raycast and initialize settings, via topbar replace hotkey to cmd+space
  • Make firefox default browser System Preferences > General > Default Web Browser
  • Fix yubikey
    1. Add ssh-keys manually from 1password
    2. Fix permission on private key chmod 400 ~/.ssh/id_ed25519_sk
    3. Connect key and run gpg-connect-agent "scd serialno" "learn --force" /bye

Not super important#

  • Open maccy and enable autostart
  • Open mos settings and enable autostart
  • Add accounts System Preferences > Internet Accounts
    • Rename email acccounts in Mail app: Settings > Accounts
    • Filter accounts / calendar with focus modes
  • Open firefox and login to sync
  • Open slack and login using jakob.ankarhem@norce.io, select workspaces
  • Add home folder to finder sidebar in settings
  • Login to Github gh auth login
  • Clone all norce repos mkdir -p ~/repos && cd ~/repos && clone_org NorceTech

Finding custom settings#

Accept tailscale subnet routing#

  • sudo tailscale set --accept-routes

Diffing to find settings#

  1. Generate starting point defaults read > before
  2. Make changes
  3. Generate current defaults read > after
  4. Diff them to find settings diff before after