Add Apple ID in System Settings (I think this made 1Password easier).
mkdir src && cd srcgit clone https://github.com/eraserhd/dotfilesInstall Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"/opt/homebrew/bin/brew install 1passwordInstall Nix multi-user:
sh <(curl -L https://nixos.org/nix/install)nix-shell -p gnupg git-cryptgpg --import --pinentry-mode ask --allow-secret-key-import secret.key # secret.key downloaded from 1Passwordgit crypt unlockcp ./networking/ssh/files/id_rsa /tmp/id_rsa && chmod 06040 /tmp/id_rsa && ssh-add /tmp/id_rsawas building for the wrong system, changed hostname for macbook and changed system to aarch64-darwin, but the twou package no longer worked because the flake doesn’t have support for it, so commented it out.
nix --extra-experimental-features "nix-command flakes" run nix-darwin -- switch --flake .git remote set-url origin git@github.com:eraserhd/dotfiles.giteval $(op signin), needed to "Enable integration with 3rd Party Apps"
Install NixOS with WPA config
nix-shell -p kakoune git gnupg
git clone dotfiles
Set programs.gnupg.agent.enable = true; nixos-rebuild switch (pinentry problem)
reboot, because the above doesn’t appear to fix it
Set programs.gnupg.agent.pinentryFlavor and enableExtraSocket (not sure which)
Lots of systemctl --user restart gpg-agent
git crypt unlock — works!!
Firefox:
In about:config, set
layout.css.devPixelsPerPxto 0.75In Tree Style Tab preferences Advanced user stylesheet:
tab-item {
--tab-size: 24px;
}