about summary refs log tree commit diff
path: root/configs
AgeCommit message (Collapse)AuthorFilesLines
2020-08-20 Revise previous opinions about absolute paths GT <bracket-notation>William Carroll1-1/+1
Unforeseen problem: `buildkite-agent` runs its builds in a separate directory, so if I want the `nix-build` command to build the newly checked out code, I need to set <briefcase> to the CWD.
2020-08-12 Define alias for cd-ing to ~/briefcaseWilliam Carroll1-3/+13
Small but useful alias.
2020-07-26 Add .sqliterc to //configsWilliam Carroll1-0/+2
Prefer these more human-readable defaults to SQLite.
2020-06-16 Don't start ssh-agent in .profileWilliam Carroll1-6/+0
Problem: My SSH is behaving strangely. Reason: I'm not sure. What I do know, however, is that Google handles SSH differently. So I think that's enough for me to know I should keep my hands off and not wrestle with it.
2020-04-05 Remove unnecessary rec { .. }William Carroll1-1/+1
In Nix, rec mean "recursive" and for attribute sets, this allows attributes to refer to other attributes in the same attribute set. This is useful, but I'm not using it here, so I'm removing it.
2020-04-05 Prefer ~/.local/share/static to ~/Dropbox/staticWilliam Carroll1-8/+2
I would like to remove all dependencies on Dropbox.
2020-03-27 Drop support for lorriWilliam Carroll1-2/+0
Lorri does not cleanly integrate with my corporate device, which cannot run NixOS. To expose dependencies to Emacs buffers, I will use nix-buffer.el, which reads its values from dir-locals.nix. To easily expose dependencies from my existing shell.nix files into dir-locals.nix, I wrote a Nix utility function.
2020-03-17 Disable redshift's fading animationWilliam Carroll1-0/+2
I originally passed the options `[ "-o" "-P" ]` to disable redshift's fading animation, but what I wanted originally was the `[ "-r" ]` option.
2020-03-16 Delete .xsessionrcWilliam Carroll1-22/+0
Nix home-manager generates an .xsession file for me. I believe there are a few files for managing X-sessions: - .xinitrc - .xsession - .xsessionrc: Only exists on Debian systems, which is why home-manager generates an .xsession file instead. gLinux is a Debian system. Whenever I close Emacs, another Emacs initializes. I believe this is because after I allowed home-manager to manage my X-sessions, I unintentionally supported two X-session configuration files: .xsession and .xsessionrc; both of these files initialize Emacs. I'm deleting my .xsessionrc, and I'm hoping that will remove the issue.
2020-03-16 Support autorandrWilliam Carroll1-0/+46
Enable autorandr with Nix home-manager. I discovered autorandr when looking through the home-manager source code. I was hoping it would automatically enable/disable my external monitor when I connect/disconnect my HDMI cable, but it doesn't. With autorandr, I run... ```shell > autorandr --load mobile ``` ...to load my randr settings for just my laptop without the external monitor, and I run... ```shell > autorandr --load docked ``` ...to load my randr settings for my external monitor. I'm not sure if this brings much more value than my existing display.el module, but I'm willing to try it for now.
2020-03-13 Move wrapNonNixProgram to utils moduleWilliam Carroll1-5/+9
Define the wrapNonNixProgram in my Nix utils module.
2020-03-13 Define wrapNonNixProgram as a helper utilityWilliam Carroll1-8/+7
Write a simple Nix expression to DRY up my writeShellScriptBin wrapper pattern.
2020-03-13 Prefer locally installed /usr/bin/gitWilliam Carroll1-0/+3
From what I understand, gLinux and Nix are sometimes compatible and sometimes incompatible. Some nix-installed programs rely on system state that differs from gLinux's system state. In other cases, Google wraps existing programs (e.g. git) to provide Google-specific configuration. Ever since I switched to home-manager and set `programs.git.enable = true`, magit, which uses the git that PATH exposes hasn't been able to push, fetch, and a few other commands. TODO(wpcarro): Define a base home.nix that my gLinux and NixOS machines can extend.
2020-03-13 Define fish function, ptreeWilliam Carroll1-0/+9
Get all pstree outputs for a given process name. Usage: ```fish > ptree ssh-agent ``` I'm unsure if I like home-managers; I'd prefer defining this functions in a functions.fish file for a few reasons: - I like syntax highlighting. - home-manager compiles this into poorly formatted fish code.
2020-03-13 Extend default-cache-ttl and max-cache-ttl for gpg-agentWilliam Carroll1-2/+2
Preferring eight hours for each of these values.
2020-03-13 Restore ssh-agent initialize in ~/.profileWilliam Carroll1-0/+6
For two days I tried using gpg-agent to emulate ssh-agent, but it did not work the same way as ssh-agent. For example, gcert stopped working. Also, when I tried adding keys to ~/.gnupg/sshcontrol using `ssh-add ~/.ssh/id_rsa`, the command failed. While the concept of reusing gpg-agent for ssh-agent appeals to me... - Fewer agent processes - pinentry support ...in practice, it fell short of my expectations. Some or all of this may be because I tried running this on a gLinux machine.
2020-03-10 Support unclutter with home-managerWilliam Carroll1-0/+3
I removed the code that initializes unclutter from .profile - preferring to start it with home-manager.
2020-03-10 Support keynav with home-managerWilliam Carroll1-0/+3
I removed the startup code from .profile. I also depend on a fork of home-manager until I submit my PR from wpcarro/home-manager into rycee/home-manager.
2020-03-10 Manage xsession with home-managerWilliam Carroll1-0/+5
redshift didn't properly work because it couldn't read the DISPLAY environment variable. I can fix this ad-hoc with `systemctl --user import-environment DISPLAY`, but home-manager will do this automatically if I allow it to manage my xsession.
2020-03-10 Support redshiftWilliam Carroll1-0/+11
redshift is the f.lux of Linux; it filters blue light from your screen.
2020-03-10 Remove dockerd startup from .profileWilliam Carroll1-3/+0
1. I haven't used docker in awhile. 2. If I need to restore the docker daemon, I will reach for a home-manager solution.
2020-03-10 Remove PATH additions from .profileWilliam Carroll1-11/+0
I'd like to remove this and prefer using Nix-based solutions for PATH maintenance.
2020-03-10 Remove RUST_SRC_PATH from .profileWilliam Carroll1-3/+0
I'm not doing enough Rust development to justify supporting this. I'm also in the midst of a cleaning frenzy, so it's possible that this is just collateral damage. I don't think it is because I can always use lorri to set this value when I'm writing Rust (hopefully the second 1/2 of this year).
2020-03-10 Define additional systemctl fish abbreviationsWilliam Carroll1-0/+2
I often run `systemctl --user status <some-unit>`
2020-03-10 Manage session variables with home-managerWilliam Carroll2-7/+3
If you haven't noticed, home-manager is managing increasingly more of my configuration. - Migrate session variables to home.nix - Drop support for unused session variables like TERMINAL, VISUAL
2020-03-10 Remove ssh-agent code from .profileWilliam Carroll1-3/+0
TIL: gpg-agent sets the SSH_AUTH_SOCK and other values. Since I already use home-manager to start gpg-agent and SSH has been functioning without issues, I'm removing the obsolete ssh-agent code.
2020-03-10 Configure keyboard preference with home-managerWilliam Carroll2-7/+7
Preferring home-manager to reduce some of the clutter I've created.
2020-03-10 Configure bat to use a different themeWilliam Carroll1-1/+1
Whatever bat's default theme for syntax highlight is, I cannot read it with my current theme.
2020-03-07 Temporarily disable docker and rust from .profileWilliam Carroll1-2/+2
Attempting to debug nginx.
2020-03-06 Support root directory and dirs like /tmpWilliam Carroll1-6/+11
Properly handle display the root directory and sub directories.
2020-03-06 Manage fish with home-managerWilliam Carroll3-249/+113
I patched home-manager locally to support fzf keybindings for fish. I will PR this into home-manager, but I haven't yet, which means that my home.nix file depends on my local ~/home-manager.
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