tvl-depot/users/wpcarro
William Carroll 3d8849e68b fix(wpcarro/emacs): Support OSX build of Emacs
**TL;DR:**
Most of these changes predicate behavior on the platform:
- At buildtime this is `localSystem == $something`. (`localSystem` is from
  `readTree`)
- At runtime this is `(memq window-system '(ns))`.
- Add `coreutils` so `dired` listing with `--group-directories-first` works
  because that flag depends on the GNU version of `ls`.

**Background:**
I need to support a bunch of OSX users at $WORK. As such, I'm planning
on using my MBP for the next few weeks to build empathy for our
userbase and polish some currently rough edges.

If I'm going to get an serious work done, I need my Emacs setup. Step
one is making sure it can build and run.

Change-Id: I918efccfa5f149e218aeea476c2c7df1c7b64ae8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7309
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-11-19 19:36:06 +00:00
..
.gitsecret subtree(users/wpcarro): docking briefcase at '24f5a642' 2021-12-14 02:15:47 +03:00
assessments style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
bin feat(wpcarro/diogenes): Support rebuild-diogenes 2022-02-12 20:47:57 +00:00
boilerplate refactor: Replace 'meta.ci' -> 'meta.ci.skip' 2022-01-20 07:40:18 +00:00
buildHaskell style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
ci style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
configs refactor(wpcarro/dotfiles): Move gitconfig into dotfiles 2022-10-04 20:37:18 +00:00
dotfiles feat(wpcarro/fish): Support more aliases 2022-11-17 18:47:09 +00:00
emacs fix(wpcarro/emacs): Support OSX build of Emacs 2022-11-19 19:36:06 +00:00
go fix(wpcarro/nix): Remove <briefcase> references 2021-12-15 15:49:40 +00:00
gopkgs fix(wpcarro/nix): Remove <briefcase> references 2021-12-15 15:49:40 +00:00
haskell-file style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
lib refactor(wpcarro/nixos): Define shared nopn.nix module 2022-07-22 03:02:21 +00:00
lisp fix(users/wpcarro): Delete and/or fix broken targets 2021-12-15 17:29:07 +00:00
nixos chore(3p): obtain home-manager source from upstream directly 2022-10-27 12:05:44 +00:00
playbooks feat(wpcarro/org): remember to expense home internet 2022-02-10 23:02:25 +00:00
scratch feat(wpcarro/compiler): Support Vector type 2022-10-25 04:32:59 +00:00
terraform refactor(wpcarro): Prepare for restricted-eval 2022-05-26 16:50:25 +00:00
todo-lists feat(wpcarro/todo-lists): Add CTA's curriculum as a CSV 2022-02-14 20:06:20 +00:00
tools feat(wpcarro/tools): Support systemd-shell 2022-11-19 02:11:37 +00:00
utils style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
website chore(wpcarro/blog): Edit "TCP Tunneling (note to self)" 2022-11-17 19:04:12 +00:00
zoo chore(3p/sources): Bump channels & overlays 2022-04-11 19:37:01 +00:00
.envrc feat(wpcarro/envrc): Add REPO_ROOT 2022-10-04 18:01:57 +00:00
.gitignore feat(wpcarro/git): Ignore private-keys-v1.d 2022-01-08 06:10:32 +00:00
common.nix fix(wpcarro/emacs): Support OSX build of Emacs 2022-11-19 19:36:06 +00:00
keys.nix feat(wpcarro/keys): Add kyoko 2022-10-04 20:17:14 +00:00
OWNERS chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
README.md chore(wpcarro/readme): Prefer shell pseudocode to bullet points 2022-05-27 23:21:25 +00:00
secrets.json.secret subtree(users/wpcarro): docking briefcase at '24f5a642' 2021-12-14 02:15:47 +03:00

wpcarro

Welcome to my monorepo.

Herein you will find a variety of libraries, packages, and documents. Some of this work in finished and other work is incomplete or just a sketch for a future project.

Where applicable, I try to include README.md files in some of the subdirectories to help orient both myself and any onlookers.

Sign posts

Below I have outlined a few projects that you might find interesting.

  • boilerplate: scaffolding for projects. Boilerplate's goal is to reduce the startup costs of a project.
  • configs: my dotfiles (e.g. config.fish, init.vim).
  • emacs: Emacs is both my preferred text editor and my window manager; with tens of thousands of lines of Emacs Lisp, you can safely assume that this directory hosts a lot of libraries and packages.
  • monzo_ynab: systemd timer unit that imports my Monzo (i.e. a U.K.-based online bank) transactions into the personal finance tool YNAB (i.e. youneedabudget.com).
  • nixos: my declarative configuration for my NixOS machines. If you are unfamiliar with Nix, I recommend reading about the NixOS project.
  • tools: some scripts and projects that simplify my life.
  • website: everything required to build my website, https://wpcarro.dev.

Installation

Google Machine

  • ensure /google-briefcase exists
  • read /google-briefcase/README.md

NixOS Machine

$ nix-shell -p nixos.{git,direnv}
$ git clone https://code.tvl.fyi/depot.git /depot
$ cd /depot
$ eval "$(direnv hook bash)"
$ HOSTNAME=base rebuild-system
$ sudo tailscale up
$ git clone 'user@host:~/.password-store' ~/.password-store
$ scp -r 'user@host:~/.gnupg' ~/.gnupg