about summary refs log tree commit diff
path: root/configs
AgeCommit message (Collapse)AuthorFilesLines
2020-03-06 Splice configs/shared directoryWilliam Carroll169-49299/+2
- Move all children from configs/shared into configs. - Delete "shared" directory.
2020-03-06 Drop support for terminatorWilliam Carroll3-288/+0
I've been consistently using vterm enough that I don't think I will change shells anytime soon. Couple this with my previous commit where I hint that I'd like to curb all terminal usage if possible, and it seems unlikely that I'll want to keep this terminator configuration.
2020-03-06 Drop support for rofiWilliam Carroll2-12/+0
Rofi is a nicer alternative to dmenu, but I use neither dmenu nor rofi, so farewell.
2020-03-06 Drop support for mpdWilliam Carroll2-4/+0
If I'm being candid, I'm not even sure I remember what mpd does. My current guess is that it's a music player daemon.
2020-03-06 Drop support for lfWilliam Carroll2-169/+0
While I like lf, I don't use it enough to maintain this configuration.
2020-03-06 Drop support for .g4dWilliam Carroll1-15/+0
I have an Elisp module that encodes these aliases mappings.
2020-03-06 Drop support for desktop and laptopWilliam Carroll10-59/+20
As I pruned increasingly more dependencies, the few dependencies that desktop and laptop hosted were too trivial for me to justify supporting. And so, I no longer support them.
2020-03-06 Support gpg-agent with home-managerWilliam Carroll2-2/+6
A previous commit supported gpg.conf; this commit supports gpg-agent.conf. I still have other files in my .gnupg directory that I should audit.
2020-03-06 Add programs to home-managerWilliam Carroll1-4/+18
Support commonly used programs like fd, exa, bat, etc. For now, I'm unsure how to manage the programs in my emacs/default.nix with my home.nix. I'll wait until I have a stronger opinion to handle this.
2020-03-06 Support fzf with home-managerWilliam Carroll2-4/+5
Because (to my knowledge) home-manager doesn't support fish-shell, I need to retain some fzf-specific configuration in my fish/config.fish file.
2020-03-06 Support lorri with home-managerWilliam Carroll4-24/+2
Prefer starting lorri with home-manager. Note: I could have removed the `systemctl --user start lorri.service` line before switching to home-manager by calling `systemctl --user enable lorri.service`. This would have made a symlink in `~/.config/systemd/user/default.target.wants`.
2020-03-05 Drop support for TmuxWilliam Carroll1-190/+0
I haven't used Tmux for months. I also suspect that using the terminal in general may be a crutch. Ideally I could replace everything I do in the terminal with Emacs analogues. Perhaps one month I'll force myself to work without a terminal to see what happens.
2020-03-05 Drop support for cloudtopWilliam Carroll3-4/+0
While I do still technically own a Google cloudtop device, I haven't used it in at least six months. In the interest of pruning non-critical dependencies, I'm deleting it. I can alway restore it thanks to Git.
2020-03-05 Drop support for personal_laptopWilliam Carroll3-18/+0
My former Manjaro device is now a NixOS device called "socrates", which hosts this git repo and a few other projects.
2020-03-05 Use home-manager to support SSHWilliam Carroll2-26/+14
I didn't port everything from .ssh/config to home-manager. I omitted a few hosts that I don't connect to anymore. I also omitted the `corp-ssh-helper` configuration.
2020-03-05 Drop support for ncmpcppWilliam Carroll1-12/+0
I don't think I ever fully setup ncmpcpp. This configuration has been collecting dust in my monorepo for awhile.
2020-03-05 Drop support for irssiWilliam Carroll1-44/+0
I've been using ERC for awhile, and I haven't switched back to irssi.
2020-03-05 Drop support for gvcciWilliam Carroll160-14672/+0
I supported gvcci before I switched to EXWM. Now that I'm using EXWM, I prefer keeping things simple and using Doom's solarized-light theme.
2020-03-05 Move gpg.conf to home-managerWilliam Carroll2-3/+7
- Migrate gpg.conf settings to home-manager - Delete gpg.conf
2020-03-05 Drop support for DockerWilliam Carroll2-4/+0
I don't use Docker shells enough to justify maintaining this.
2020-03-05 Support gitconfig with home-managerWilliam Carroll3-28/+21
- Migrate configuration from .gitconfig to home-manager. - Delete .gitconfig. - Delete .gitignore because I'm not using OSX anymore.
2020-03-05 Support Nix home-managerWilliam Carroll1-0/+21
Last night @adisbladis convinced me to try home manager. I'm growing weary of wrestling with symlinks, so I'm willing to give this a try.
2020-03-04 Drop support for functions.fishWilliam Carroll2-67/+0
I'm not using the functions defined in this file, and it is causing me in trouble.
2020-03-04 Drop support for hubWilliam Carroll1-3/+1
I'm not using hub much lately and it's causing me trouble.
2020-03-04 Ensure fish config is compatible with TrampWilliam Carroll1-192/+202
Ensure that my config.fish does not interfere with Tramp.
2020-03-04 Support custom fish promptWilliam Carroll1-15/+66
Today I wrote myself a custom fish prompt. It's mostly what I'd like, but I'd like to finely tune it a bit. I'd like to create a separate repository to release this. In that repository, I'll explain why I wrote this.
2020-03-01 Consolidate fish configurationWilliam Carroll3-214/+182
Months ago when I was revisiting Nix, I decided to nixify my fish configuration. This was a useful learning exercise. I've had two config.fish files floating around this repository ever since then. I sometimes update one and other times I update the other. I'm consolidating these files into one, so I that this is no longer as issue.
2020-02-22 Converge naming of Acer laptop to "socrates"William Carroll1-1/+1
Prefer "socrates" to "flattop".
2020-02-19 Support SSH config for acer machineWilliam Carroll1-0/+5
I'd like to setup a NixOS machine that runs in my flat to host my blog and other projects. For now it's a slow Acer running Manjaro Linux. I'm hoping that I can install NixOS on it remotely over SSH. But first! SSH access... I setup port forwarding from my router to this machine for: - HTTP - HTTPS - SSH
2020-02-17 Drop support for comptonWilliam Carroll3-44/+0
I'm finding myself running `pkill compton` offer. In the spirit of slimming down my configuration, I'm dropping support for compton.
2020-02-14 Enable lieer-google.timerWilliam Carroll1-0/+1
After running `systemctl --user enable lieer-google.timer`, systemctl created a symlink pointing from timers.target.wants -> ../lieer-google.timer. I'm not sure if tracking symlinks in a git repository is such a useful idea. This commit reminds me that I could and should be using Nix to better manage symlink creation and destruction.
2020-02-13 Begin supporting notmuch in EmacsWilliam Carroll2-0/+16
I'm borrowing from @tazjin's dotfiles, which are stored in Git on Borg. When you call `nix-build ~/briefcase/mail`, result will output a systemd units, which you should move to ~/.config/systemd/user/. The path to `gmi`, which is Lieer's executable, exists in /nix/store, and you can read it from the systemd unit file (i.e. lieer-google.service). Lieer synchronizes notmuch with Gmail and Gmail with notmuch. Here's a general sequence of commands that I ran to set everything up. Special thank you to @tazjin for helping me with all of this. These steps are not certified as a tutorial; I'm recalling them from memory. When I set this up things didn't work as expected immediately and I had to troubleshoot. ```shell > mkdir -p ~/mail/account.google > cd ~/mail/account.google > nix-env -iA nixpkgs.notmuch > notmuch setup > nix-build ~/briefcase/mail > cp ./result/lieer-google.{service,timer} ~/.config/systemd/user > rm ./result > systemctl --user cat lieer-google ...copy the /nix/store path to gmi... > notmuch new > /nix/store/gmi init ...follow the OAuth login flow... > ``` Unknowns? - Do I need to call `systemctl --user start lieer-google` at startup? Or should I move these units to user/default.target.wants? - Can I send email from notmuch? - How do I use notmuch to delete email? To respond to emails? To do anything? Todo: - Once this configuration stabilizes, I should package everything with Nix.
2020-02-12 Nixify simple_vim ideaWilliam Carroll1-98/+0
I previously had an alias defined as `simple_vim`, which would start an instance of Vim with a bare bones config. I had a to-do to Nixify it. That is now (mostly) to-done. When I try and install it with `nix-env -f ~/briefcase -iA tools.simple_vim`, Nix fails and says that pkgs.stdenv is undefined. I will need to fix this one day, but it is neither important nor urgent...
2020-02-12 Define briefcase alias to cd into my monorepoWilliam Carroll1-0/+3
Defining an alias in my config.fish makes me realize that I should prune many of my abbreviations and change the ones that remain into aliases.
2020-02-10 Preferring to start wpcarros-emacs with dbus-launchWilliam Carroll1-1/+1
When I ran `pass show some/password`, gpg, which uses pinentry would start its ncurses password prompt. For many this wouldn't be a problem but my current vterm version cannot send the <return> key to ncurses, so once that prompt appears, I cannot get rid of it without C-c and killing the shell. For a day or more I just opened suffered through this. Today I dug more into the issue and when I ran `pinentry --version` it warned that it couldn't connect to DBUS. After searching for more information on this, people with similar issues recommended starting their window managers with `dbus-launch`. I previously started Emacs with `dbus-launch`, but only because some i3 documentation told me to do so and I just copied them. Then I switched to EXWM and copied that pattern over. A friend of mine uses EXWM and starts his without calling `dbus-launch` but `exec emacs`. I mirrored this thinking that I no longer needed `dbus-launch`. What I didn't know, however, was that this friend was using a Nix-built Emacs (like me) except that his wrapped a native Emacs installation while mine doesn't. His natively wrapped Emacs installation has the proper variables set to interact with dbus and other important Linuxy things that I don't fully understand. Since I'm using a Nix-built Emacs, some of my variables are unset or set to different values than programs expect. This is why when I try and start `gnome-terminal` or `terminator`, they refuse to start and warn about many unset or incorrectly variables and not being able to bind to sockets, etc. This change reverts back to using `dbus-launch` until I have a better understanding of Linux, Nix, etc.
2020-02-07 Start lorri with sytemdWilliam Carroll3-5/+24
Whenever possible, prefer starting things as systemd units instead of instantiating them in ~/.profile and other dotfiles.
2020-02-07 Start lorri daemon in ~/.profileWilliam Carroll2-16/+16
This does two things: 1. Starts lorri daemon 2. Moves ssh-agent and docker daemon startup calls to ~/.profile I'm still not entirely sure when ~/.profile is evaluated... I'd like to use systemd to startup and manage these background services, but I currently don't have a strong enough desire to do this.
2020-02-07 Escape sub-shell in config.fish to prevent evaluationWilliam Carroll1-1/+1
`stack path --local-doc-root` gets evaluated when I create a shell, which is not what I intended.
2020-02-07 Drop support for dkishWilliam Carroll1-7/+0
dkish was an idea to quickly create REPLs for all sorts of languages like Haskell, Elixir, Clojure. I haven't used these, and if I started wanting these with my newfound comfort with Nix, I think I'd reach for that instead.
2020-02-05 Support hgwhat aliasWilliam Carroll1-14/+15
Support a Mercurial alias for listing the files that have changed on a particular branch. This commit is particularly noisy because I reformatted the above aliases to align with the new width.
2020-01-31 Rename dotfiles -> briefcaseWilliam Carroll5-6/+6
Renaming my mono-repo briefcase. I first introduced this commit in master, but it introduced a bug where one of two things would happen: 1. Emacs wouldn't start and would crash X. 2. Emacs would start but my keyboard wouldn't work. I learned some valuable debugging skills in the process. Here are some of them: When my keyboard was broken, I wanted to control my computer using my laptop. Thankfully this is possible by using `x2x`, which forward X events from the SSH client to the SSH host. ```shell > # I'm unsure if this is the *exact* command > ssh -X desktop x2x -west :0.0 ``` Git commit-local bisecting. I didn't need to do a `git bisect` because I knew which commit introduced the bug; it was HEAD, master. But -- as you can see from the size of this commit -- there are many changes involved. I wanted to binary search through the changes, so I did the following workflow using `magit`: - git reset --soft HEAD^ - git stash 1/2 of the files changed - re-run `nix-env -f ~/briefcase/emacs -i` - restart X session - If the problem persists, the bug exists in the non-stashed files. Repeat the process until you find the bug. In my case, the bug was pretty benign. Calling `(exwm/switch "Dotfiles")` at the bottom of `window-manager.el` was failing because "Dotfiles" is the name of a non-existent workspace; it should've been `(exwm/switch "Briefcase")`. There may have been more problems. I changed a few other things along the way, including exposing the env vars BRIEFCASE to `wpcarros-emacs` inside of `emacs/default.nix`. The important part is that this was a valuable learning opportunity, and I'm glad that I'm walking away from the two days of "lost productivity" feeling actually productive.
2020-01-31 Support building wpcarros-emacsWilliam Carroll1-2/+3
I'm using a Makefile until I can remember the command: ```shell > nix-env -f . -i ``` This will install (i.e. `-i`) any derivations instantiated from the Nix expression resolvable by `-f`. Ideally the incantation will look something like this: ```shell > nix-env -f '<universe>' -iA emacs ``` Informing `nix-env` to install all of the derivations created by the expression at attribute `emacs` in my `<universe>` repository. For now two things are preventing this: 1. `emacs` isn't an attribute in my top-level expression defined in the `default.nix`. 2. If I do add `emacs` as an attribute and call the above command, my usage of `readTree` results in `pkgs` missing `.lib` and a few other stdlib commands that are available in `(import <nixpkgs> {})`. A fix for both of these should be forthcoming.
2020-01-30 Move move .emacs.d out of configs/sharedWilliam Carroll188-27722/+0
Moving all of my Emacs-related files into their own directory at the root of this repository.
2020-01-29 Drop support for ZSHWilliam Carroll6-1627/+0
I've been using Fish consistently for about a month now, and I don't see myself switching back to ZSH. Some of the code from this commit should be published. I may get around to that one day. Before I did that, I would need to clean it up and document it, which I won't be doing today. Thank you, ZSH, for your service.
2020-01-29 Support env vars for {DESK,LAP,CLOUD}TOP devicesWilliam Carroll6-38/+18
I recently changed my hostname for my desktop and laptop from wpcarro.lon.corp.google.com -> zeno.lon.corp.google.com wpcarro2 -> seneca If you're curious, the names Zeno and Seneca come from famous Stoic philosophers. As you can see from this commit, my configuration depends on the values of these hostnames. Immediately impacted: - .profile - device.el Not immediately impacted: - configs/install - configs/uninstall - .ssh/config - .zshrc* * As a side note, I should stop supporting ZSH. Using an .envrc file helps me DRY up some of my configuration. Ideally I should only need to make changes to the .envrc file and then expect everything to work as expected. Let's see how that goes.
2020-01-28 Remove PAGER prefix from hgst abbreviationWilliam Carroll1-1/+1
1. This isn't correct fish syntax. 2. I'm not sure that I need this.
2020-01-27 Add missing dependencies to constants.elWilliam Carroll1-0/+11
Perhaps commits like these will become less frequent when I adopt Nix and a proper packaging strategy.
2020-01-27 Rename mono -> universeWilliam Carroll3-5/+11
Update code that depends on my mono-repo being named "mono". I've renamed it to "universe", which explains the changes in this commit. TODO: Merge dotfiles into universe.
2020-01-27 Temporarily remove server-start from EmacsWilliam Carroll1-8/+0
I'm having trouble debugging why `pgrep emacs` returns two PIDs instead of just one. Additionally when I call `emacsclient .` on the command line, I see a message... "Waiting for Emacs..." ...but when I cycle through all of my workspaces, I don't see any active buffers. This commit is part of a larger debugging effort to get this working as expected.
2020-01-27 Sketch ideas for YNAB integrationWilliam Carroll1-0/+56
The end goal is to have some functions that help me manage my Monzo and YNAB accounts. YNAB (i.e. youneedabudget.com) doesn't support Monzo integrations. However, both services offer APIs. Here I'm sketching ideas for what the API integrations might look like. Coming soon: monzo.el.