Commit graph

15619 commits

Author SHA1 Message Date
Vincent Ambo
6a0b37a196 fix(ops/sync-gcsr): Ensure cachix is installed 2020-01-18 17:33:21 +00:00
Vincent Ambo
7aa8f32065 docs(ops/kontemplate): Update installation notes
Removed the AUR package (which has not been updated since 2017) and
made Nix the recommended installation method.
2020-01-18 17:31:28 +00:00
William Carroll
bb0de3dec2 Begin tests for Haskell File module
Cameron sent over some property tests for his File.split function, which is a
part of a larger effort to port f.el, a nice library for working with file
paths, over to Haskell.
2020-01-18 17:05:32 +00:00
William Carroll
34dc3e05c8 Complete practice algorithms from InterviewCake.com
While I've done these algorithms before, I'm preparing for an on-site with
DeepMind, so I created a subdirectory called deepmind where I'm storing my
second attempts at these problems. The idea of storing them in a second
directory is to remove the urge to check my existing solutions that also exist
in this repository.
2020-01-18 17:04:05 +00:00
William Carroll
e7200fb033 Ignore transient/history.el
I find that this file makes too much noise for me to care to track it.
2020-01-18 17:03:08 +00:00
William Carroll
158b66fbb5 Support Gruvbox theme
Add Gruvbox theme in themes.el.

Also made a note to consider supporting themes:
- with solid colors as wallpaper
- without compton's transparency
2020-01-18 17:00:22 +00:00
William Carroll
2e4092f67e Prefer general to evil-leader
One small change in a larger effort to drop support for evil-leader.
2020-01-18 16:59:46 +00:00
William Carroll
b00fa4ffe8 Load entr.el at Emacs initialization
Also make a note to rename entr.el to something else. That module should be
refactored, but it gets the job done currently.
2020-01-18 16:58:43 +00:00
Vincent Ambo
48d31b7770 fix(ops/sync-gcsr): Avoid echoing the Cachix secret
sourcehut does not censor secret strings in build logs, but this
workaround should avoid the issue.
2020-01-18 16:34:54 +00:00
Vincent Ambo
bd7e59766e docs(README): Add Sourcehut builds badge to README 2020-01-18 15:52:13 +00:00
Vincent Ambo
526b9c4572 feat(ops/sync-gcsr): Log successful build triggers 2020-01-18 15:49:12 +00:00
Vincent Ambo
61830ebc5b feat(ops/infra/k8s): Add sourcehut configuration to sync-gcsr 2020-01-18 15:48:52 +00:00
Vincent Ambo
af63d2604e feat(sync-gcsr): Add builds.sr.ht build manifest
Adds a simple build manifest that builds everything in ci-builds.nix
and pushes results to Cachix on success.
2020-01-18 15:37:05 +00:00
Vincent Ambo
b8355066e8 feat(sync-gcsr): Trigger sourcehut builds on master branch changes
Calls the sourcehut API at builds.sr.ht to trigger a build if the
master branch changes.

The build manifest is going to be stored in the depot too, coming up
next ...
2020-01-18 15:36:15 +00:00
Vincent Ambo
44116522dd feat(ops/sync-gcsr): Skip unneccessary branch updates
Checks whether branches are already up-to-date before setting
references.

This also makes it possible to hook additional logic on the update
flow.
2020-01-18 14:49:34 +00:00
Vincent Ambo
a21be17719 chore(ops/infra/gcp): Update enabled GCP APIs 2020-01-18 12:43:53 +00:00
Vincent Ambo
d9316cfbee chore(third_party/git): Remove sha1collisiondetection submodule
This is not required and confuses git on clones.
2020-01-18 11:36:03 +00:00
Vincent Ambo
c9923c5abb chore(third_party/cgit): Remove git submodule
This is instead passed in by Nix, and it confuses git on clones.
2020-01-18 11:33:07 +00:00
Vincent Ambo
a52c0c4198 feat(nixos/nugget): Install cachix binary 2020-01-18 11:29:18 +00:00
Vincent Ambo
4b8f4fdc3f chore(third_party): Bump nixos-unstable channel 2020-01-18 11:28:58 +00:00
Vincent Ambo
cc3adc6a33 chore(fun/gemma): Use correct Markdown file extension
Otherwise the file does not get picked up by cgit.
2020-01-18 11:10:40 +00:00
William Carroll
a62553f7b7 Add DeepMind subdirectory
I need to prepare for my on-site with DeepMind, so I'll host some attempts to
solve data structures and algorithms questions here.
2020-01-17 20:08:24 +00:00
Vincent Ambo
bdd488ce27 fix(emacs-pkgs/nix-util): Use lexical-let to allow variable capture
The lambda that acts as the sentinel for building SBCL with packages
needs to be able to capture variables if lexical binding is enabled,
which is made possible by the lexical-let form.
2020-01-17 19:09:46 +00:00
William Carroll
1ba65acfd6 Don't start emacs server at login
Since I'm using EXWM, I'm unsure what benefits starting the Emacs server gives
me. In the interest of cleaning up my xsessionrc, I'm deleting this.
2020-01-17 19:07:50 +00:00
William Carroll
68395b29f9 Re-order functions.el module
Move `wpc/find-file-split` directly below `wpc/find-file`.

TODO: This module is quite old and served as a bit of a dumping grounds for me
for a long time. As such, I think I should consider deleting dead code and
moving some of these functions to other modules.
2020-01-17 19:06:09 +00:00
William Carroll
fa640ed8a3 Ignore __pycache__ directory
I don't believe I'll be needing this.
2020-01-17 19:05:33 +00:00
William Carroll
7bd17ed07c Remove xset and xmodmap calls from xsessionrc
These are defined in keyboard.el, so these are redundant.
2020-01-17 18:55:03 +00:00
William Carroll
dd058004fe Don't start a tmux session when X starts
I've stopped using Tmux almost entirely.
2020-01-17 18:53:53 +00:00
William Carroll
cd3b879e7b Support clipboard/contents
This function returns the contents of the clipboard without calling paste.
2020-01-17 18:52:16 +00:00
Vincent Ambo
8e9167fdc8 feat(third_party/lisp): Add derivation for fiveam 2020-01-17 18:41:06 +00:00
Vincent Ambo
7db9b2aa71 Merge commit '728a186263688293c214297cf8ea34dde8b20edb' as 'third_party/lisp/fiveam' 2020-01-17 18:37:23 +00:00
Vincent Ambo
728a186263 Squashed 'third_party/lisp/fiveam/' content from commit ee9456a2
git-subtree-dir: third_party/lisp/fiveam
git-subtree-split: ee9456a2ac52b1c9f5f5f789d263f0f76a15176c
2020-01-17 18:37:23 +00:00
Vincent Ambo
807445a10b refactor(third_party/lisp): Amend alexandria drv for local sources 2020-01-17 18:05:34 +00:00
Vincent Ambo
0a9a569534 Merge commit '95aeb2ebae32a01ff79644daa523bda5d8552863' as 'third_party/lisp/alexandria' 2020-01-17 18:04:20 +00:00
Vincent Ambo
95aeb2ebae Squashed 'third_party/lisp/alexandria/' content from commit fc2a2f5c
git-subtree-dir: third_party/lisp/alexandria
git-subtree-split: fc2a2f5c34147bb4e3e4a350b04220de0263710f
2020-01-17 18:04:20 +00:00
Vincent Ambo
30e4e5eefc feat(third_party/lisp): Add derivation for trivial-backtrace 2020-01-17 17:56:17 +00:00
Vincent Ambo
fdcfd59aa4 Merge commit 'cc026178a94f94fa9c79cedc66cbaf5ab78c21c1' as 'third_party/lisp/trivial-backtrace' 2020-01-17 17:53:27 +00:00
Vincent Ambo
cc026178a9 Squashed 'third_party/lisp/trivial-backtrace/' content from commit 43ef7d9
git-subtree-dir: third_party/lisp/trivial-backtrace
git-subtree-split: 43ef7d947f4b4de767d0f91f28b50d9c03ad29d6
2020-01-17 17:53:27 +00:00
Vincent Ambo
00902daa00 feat(third_party/lisp): Add derivation for asdf-flv 2020-01-17 17:52:27 +00:00
Vincent Ambo
ad1de2a04f Merge commit '45fea96d8de14ffe08eef5fd8f3b6f4ecbd08eac' as 'third_party/lisp/asdf-flv' 2020-01-17 17:50:14 +00:00
Vincent Ambo
45fea96d8d Squashed 'third_party/lisp/asdf-flv/' content from commit fc5b739
git-subtree-dir: third_party/lisp/asdf-flv
git-subtree-split: fc5b7399767ca35bfb420bbeb9e08494e441dc69
2020-01-17 17:50:14 +00:00
Vincent Ambo
815a224744 feat(emacs): Install lispy for evaluation
Not configuring this automatically yet, I mostly want to try it out.
2020-01-17 17:48:13 +00:00
Vincent Ambo
86c8275a53 fix(emacs.d): Load relevant modes for Lisp development in IELM 2020-01-17 16:52:17 +00:00
Vincent Ambo
381a859b3b feat(emacs-pkgs/nix-util): Add nix/sly-from-depot function
Adds a function that can launch Sly with a pre-configured SBCL for a
Lisp derivation in the depot.

This makes it convenient to spin up development environments for Lisp
libraries and programs by simply calling `M-x nix/sly-from-depot RET
tools.something`.

This relies on `nix-depot-path` being configured currently as I have
not yet reliably added the depot to my NIX_PATH on all machines.
2020-01-17 16:43:49 +00:00
Vincent Ambo
21e9a65a35 fix(nix/buildLisp): Don't load binaries in sbclWith
Adds an attribute on each Lisp derivation that specifies whether it is
a binary or not. This attribute is then filtered for in sbclWith.
2020-01-17 16:41:57 +00:00
Vincent Ambo
e1cc4966b7 feat(nix/buildLisp): Support passing programs to sbclWith
Adds the necessary attributes on derivations created by
buildLisp.program for them to be passed to buildLisp.sbclWith.

This makes it possible to easily spin up Lisp environments that
contain everything needed for a given program.
2020-01-17 12:44:24 +01:00
William Carroll
e197dc5aba Re-enable wpc-org with direnv support
After moving some environment variables out of `~/.profile` and into a `.envrc`
file, I broke some of my modules because Emacs, which is started in
`~/.xsessionrc.shared`, is started from outside of the `.envrc` scope.

Thankfully someone wrote an excellent Emacs integration with `direnv` so now the
world keeps turning and it is even more beautiful than it was previously.
2020-01-17 10:56:21 +00:00
William Carroll
2108ee933a Support google3 as a citc alias
Sometimes I just want to visit //google3.
2020-01-17 10:56:21 +00:00
William Carroll
9108c3fa7d Drop support for prism-mode
Many times when I run `prism-mode` the contrast between the colors isn't strong
enough. This is unfortunate because I really like the idea.

Perhaps one day I can submit a PR to ensure that it uses the highest-contrast
colors available to it.
2020-01-17 10:56:21 +00:00
William Carroll
97fd83272c Prefer fullscreen for magit-status
Magit as a fullscreen buffer helps me focus by removing the noise of additional
buffers.
2020-01-17 10:56:21 +00:00