about summary refs log tree commit diff
path: root/users/wpcarro
AgeCommit message (Collapse)AuthorFilesLines
2022-08-01 r/4361 feat(wpcarro/emacs): Package math.elWilliam Carroll3-0/+55
Another Elisp library that I wrote during my manic experience of switching to EXWM. Change-Id: I652f5c7228332a7f5822bd408a0c0be8f7bc4b4f Reviewed-on: https://cl.tvl.fyi/c/depot/+/6018 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-08-01 r/4360 refactor(wpcarro/emacs): Drop support for functions.elWilliam Carroll2-64/+39
This was one of my original dumping grounds for Elisp functions. Nice to demolish it. Change-Id: I18102f04690131e66ec0d4362f8305e56e7a6ed7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6015 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-08-01 r/4359 feat(wpcarro/emacs): Package symbol.elWilliam Carroll4-24/+61
Not sure how useful this package is, *but* I'm packaging everything I have now, and then in a separate CL I can refactor and remove various libs. Change-Id: Id106539b19244ea1586198992c7ce0d65a0a242b Reviewed-on: https://cl.tvl.fyi/c/depot/+/6014 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4358 fix(wpcarro/emacs): Use should macro in struct.el testsWilliam Carroll1-4/+3
:) Change-Id: Ia6b4697d002394a7e1d913031849b383ed424ad5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6013 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4357 fix(wpcarro/emacs): Use should macro in string.el testsWilliam Carroll1-4/+4
:) Change-Id: Ic20b9c5c66465f2b28f58239a9e7d38dc19f2260 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6012 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4356 fix(wpcarro/emacs): Use should macro in set.el testsWilliam Carroll1-49/+40
Uncovered a few misconfigured tests by consuming the `should` macro. Change-Id: Ie0204818ecf1f6f5a0feafa85e4e100fb91b8865 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6011 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4355 fix(wpcarro/emacs): Use should macro in maybe.el testsWilliam Carroll1-11/+8
More fixes along the way Change-Id: I6b62eb0545981c2792d6c70089fe81324ba2dbf0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6010 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4354 fix(wpcarro/emacs): Use should macro in al.el testsWilliam Carroll1-24/+30
:) Change-Id: Idcd0e51737c4331b1c95fe2589f0758f443228ac Reviewed-on: https://cl.tvl.fyi/c/depot/+/6009 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4353 fix(wpcarro/emacs): Use should macros for bag.el testsWilliam Carroll1-14/+10
:facepalm: (more fixes forthcoming) Change-Id: Ibcbea21c44034a2fe6649c22ba2c140da15ec004 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6008 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4352 feat(wpcarro/emacs): Re-enable electric-pair-modeWilliam Carroll1-0/+3
I miss this mode (especially when writing lisp). Change-Id: I4ebcd5011fd1abb67270214f292a3b883b8c0ca8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6007 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4351 chore(wpcarro/emacs): Mirror cycle.el on GithubWilliam Carroll1-0/+5
Attempting to use `depot.tools.releases.filteredGitPush` for the first time. Exciting! Change-Id: I620140b0454128ea2ca51496a7d653ee4219104e Reviewed-on: https://cl.tvl.fyi/c/depot/+/6006 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4350 chore(wpcarro/emacs): Disable dired-dwim-targetWilliam Carroll1-2/+1
This feature can be pretty annoying. I'm still not sure why when I have two side-by-side dired buffers both close when I visit the parent directory (pressing my "-" kbd). Change-Id: I31419a975efb8dd08198febf1a442324c5947446 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6005 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4349 feat(wpcarro/emacs): Package cycle.elWilliam Carroll10-95/+188
This will likely break a few things since I've changed the names of a few functions to reflect their mutative APIs. Change-Id: If6279999fba50813b68e66d7713c12afd209eb90 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6004 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4348 fix(wpcarro/emacs): Fix list.el testsWilliam Carroll3-20/+35
I was getting false-positive ERT test results because I forgot to use the `should` macro in my assertions. I discovered this when debugging a subtle bug in cycle.el that depends on `list-contains?` return `t` or `nil` instead of truthy or falsy values. Change-Id: Ibbf89fd1c4f50f86d5efcaa4cd87280b97e111ce Reviewed-on: https://cl.tvl.fyi/c/depot/+/6003 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4347 feat(wpcarro/emacs): Package string.elWilliam Carroll4-19/+57
Mostly just a wrapper around s.el (for now?). Eventually I'd like to prune the dependency on dash.el (and maybe s.el). Change-Id: I5c2ba256524bedd93fcd13933fdbd95b1ddff6f8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6002 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4346 feat(wpcarro/emacs): Package bag.elWilliam Carroll3-25/+95
More Elisp packaging :) Change-Id: I4cf5695fd97ed922b8dfe698a168061042208c73 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6001 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4345 feat(wpcarro/emacs): Support default value for al-getWilliam Carroll2-3/+18
Similar to Elixir's `Map.get/3`. Change-Id: I736f7e618aafc786a32eeba46ca635cb27db18b6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6000 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-30 r/4344 feat(wpcarro/emacs): Package maybe.elWilliam Carroll6-25/+59
(Temporarily) remove dependency on list.el in favor of dash, which I'm not thrilled about. Change-Id: Ic4348ee72582dee63ba07a183f3bda65baa7e2d6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5999 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-29 r/4342 feat(wpcarro/emacs): Package al, list, set, structWilliam Carroll13-165/+323
Originally I set-out to package `al.el`, but as I started traversing the dependencies, I needed to package increasingly more packages. I refactored some of these to prune their dependencies to slay this hydra before it turned into a never-ending project. I have mixed feelings about this. I also introduced `ert` and unit tests into my Elisp packaging, so it'll be nice to have build-time tests that run when Emacs updates land in depot. Change-Id: I2756dc60888b80255a495e08ae61bd547e6b3db2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5998 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-28 r/4333 feat(wpcarro/emacs): Package zle.elWilliam Carroll3-6/+19
The end-goal is to package all of my Elisp libraries. Why? - More granular builds/tests - More explicitly defined dependencies - Separate personal configuration from library code - Ease distribution Change-Id: I2507d129d3a0b3bf0cfe70b9790536a8b2093b96 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5969 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-22 r/4315 chore(wpcarro/blog): Fix typoWilliam Carroll1-1/+1
Oops... Change-Id: I926246246fddbfd8811dfad745909e740995dd0e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5945 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-22 r/4314 feat(wpcarro/blog): SSH OdditiesWilliam Carroll2-0/+66
Another short post about strange encounters in sysadmin-land. Change-Id: Ie71ca36553440d706ff808af91bed8e09008f909 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5944 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-22 r/4313 refactor(wpcarro/nixos): Define shared nopn.nix moduleWilliam Carroll7-78/+66
Shared between `ava` and `tarasco`. Also define `lib/default.nix` to share utility functions like `usermod` between NixOS configurations. Change-Id: I65b8d37520426e164c9d5f722bee4731a3c6e641 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5942 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-12 r/4297 fix(wpcarro/website): Redirect wpcarro.dev trafficWilliam Carroll1-0/+1
To https://billandhiscomputer.com (instead of the nginx default landing page). Change-Id: Id08a3a54c0753c20370a45ff6344128f180d52dd Reviewed-on: https://cl.tvl.fyi/c/depot/+/5904 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-12 r/4292 feat(wpcarro/nixos): Support laptop.nix moduleWilliam Carroll2-3/+19
Define shared laptop configuration. The primary impetus of this change was `powerManagement.powertop`. Change-Id: Icbd04a252005ab391dc8f7d5ebf0968af91f2e0c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5910 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-12 r/4291 feat(wpcarro/blog): Short notes post on sudo teeWilliam Carroll2-0/+23
See post for more information :) Change-Id: I1e2c1e3997d895fd64f225b5f0bc91f5b26d3e96 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5940 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-09 r/4281 chore(wpcarro/website): Resize things for iPhone 12 MiniWilliam Carroll3-11/+6
The overflow-x was a bit embarrassing. I also touched-up other things while I was getting my hands dirty in the CSS. Change-Id: I7bfdbb0ab05c67f35fb11672b3dfc29b6c5a53d1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5927 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-07-01 r/4268 feat(wpcarro/blog): Create short post about resticWilliam Carroll2-0/+98
Read the blog post for more information :) Change-Id: I46a2f8ec9dc0a6546062e645f34186aa9195c70f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5907 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-30 r/4266 fix(wpcarro/blog): Remove 2x-titlingWilliam Carroll1-2/+0
The blog functions render the title from `posts.nix` already. Change-Id: I68b35039d6fbf3bc342cfe772e919d126f3ac08e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5906 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-06-28 r/4264 feat(wpcarro/website): Support SSL certs for wpcarro.devWilliam Carroll5-37/+74
This has been sloppy for awhile... While I'm at it modularize some of my Nginx configuration. Side note: might be time to decouple the Terraform provisioning stuffs from the NixOS configuration, and this feels *too* tightly coupled. Change-Id: Ida0da5462d938b956571321a67ba1f026fb0a7de Reviewed-on: https://cl.tvl.fyi/c/depot/+/5902 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-27 r/4263 feat(wpcarro/blog): Create short post about C#William Carroll2-0/+47
Inspired by Profpatsch's "Notes", here's a short post about a thing that happened today... Note: I'd like a way to convert `git log --format=%b` into blog posts (maybe). Maybe some commit metadata like `POST=true` Change-Id: I492c48c81891d9f64da8c8149d0d2bfa864ed731 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5889 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-06-27 r/4262 docs(wpcarro/rust): Tidy-up documentation widthWilliam Carroll1-2/+2
Line was too long Change-Id: I62c4454307f89e089f7d4cda0721f6b9d8029ced Reviewed-on: https://cl.tvl.fyi/c/depot/+/5900 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-06-27 r/4260 chore(wpcarro/rust): Include Cargo.lockWilliam Carroll1-0/+39
v0v Change-Id: I0ce845e01bdb76e2894322c622919f0a24ffff7e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5899 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-06-27 r/4259 feat(wpcarro/rust): Show 3/3 json examplesWilliam Carroll2-1/+38
See git diff Change-Id: Ic3100dbed09775113ddb055e6ba0d5cf900426d0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5898 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-27 r/4258 feat(wpcarro/rust): Show 2/3 json examplesWilliam Carroll1-2/+18
Documented in the module Change-Id: I550c233c8116904a1f9cd6841ee778eb0abb540a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5897 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-27 r/4257 feat(wpcarro/rust): Show 1/3 json examplesWilliam Carroll2-0/+44
See json/src/main.rs Change-Id: I83ee6b762b741a05932832a9a87eb8161bb95d0f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5896 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-27 r/4256 feat(wpcarro/rust): Create a sandbox for learning RustWilliam Carroll3-0/+19
See README Change-Id: I007a4d5c3b840986f6d3bc93aaa72d26daaa9b12 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5895 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-21 r/4250 feat(ava): Set firewall.checkReversePath to "loose"William Carroll1-0/+2
I was being warned while running `sudo rebuild-system`. Change-Id: Ie8b730760e069086c2ef88f8edf00887cbbb5c93 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5627 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-21 r/4249 feat(ava): Install ec2-api-toolsWilliam Carroll1-0/+1
For AWS things (I'm finding the web UI pretty irritating). Change-Id: Ic144a71eb6a6ca46f808f33b5d468eb5efe52355 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5626 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-27 r/4162 feat(wpcarro/tarasco): firewall.checkReversePath = looseWilliam Carroll1-0/+1
Tailscale is warning about this in `nix-build` via `trace`. Change-Id: Ia44100f5a3cd12fbf9fd10dbf40bef10805aff12 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5749 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-27 r/4161 feat(wpcarro/tarasco): Enable earlyoomWilliam Carroll1-0/+4
See the comment or other CLs I've made in the past about earlyoom. Change-Id: Ia4c0c61784aa3e76644de91a95e8b9fbdd743b54 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5748 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-27 r/4160 fix(wpcarro/tarasco): Blacklist rtw88_8821ceWilliam Carroll2-11/+29
This naughty RealTek wireless module crashes my machine. I'm also moving other `boot`-prefixed options out of `hardware.nix` and into `default.nix`. In general, I'm not *really* a fan of the distinction between the two files in the first place. Change-Id: Iabdc776afc78f00971f426c5931b7235c8c0ee20 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5747 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-27 r/4159 feat(wpcarro/emacs): Add wpcarro@tarasco to ssh-hostsWilliam Carroll1-0/+2
For `M-x ssh-cd-home` Change-Id: I8c16d9d0c420cb9feafcb466c4a416a04a4b1a26 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5746 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-27 r/4158 feat(wpcarro/emacs): Add wpcarro@ava to ssh-hostsWilliam Carroll1-0/+2
For `M-x ssh-cd-home` Change-Id: Iacb236793414b905071284e72d64e9dab3116319 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5745 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-27 r/4155 chore(wpcarro/readme): Prefer shell pseudocode to bullet pointsWilliam Carroll1-7/+10
These docs get stale pretty often. Maybe my installation should be similar like... ```shell $ # pseudocode $ nix-build https://code.tvl.fyi/depot.tar -A users.wpcarro.baseSystem ``` ...where that automates more toil 🤷 Change-Id: I548142d9dff284afeb233ecf23036655b7f7c2df Reviewed-on: https://cl.tvl.fyi/c/depot/+/5744 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-27 r/4154 feat(wpcarro/tarasco): Support tarasco 🇲🇽William Carroll6-6/+235
Named after the Mexican restaurant, El Tarasco, in El Porto, which I live 3m walking distance from. Change-Id: I2cd4b68eaa974ad6c8fec73e0566bc0b831c57a8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5743 Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-27 r/4153 refactor(wpcarro/ava): Prefer disk/by-label to disk/by-uuidWilliam Carroll2-4/+4
I broke LVM (Logical Volume Manager - maybe?) when I did the following: ```shell $ HOSTNAME=ava sudo rebuild-system $ sudo reboot now ``` I had to rollback to the initial NixOS version and try again. Change-Id: If90e5e23767392202425181be986f81deb5ddff7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5742 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-27 r/4152 chore(wpcarro): Drop MakefileWilliam Carroll2-18/+0
Thank you for your service Change-Id: I2e13aa7c28f461e80bd7ffcbc13cbe79594e0aee Reviewed-on: https://cl.tvl.fyi/c/depot/+/5741 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-26 r/4143 refactor(wpcarro): Prepare for restricted-evalVincent Ambo3-5/+5
Change-Id: Ieb3b28d56ecd2819c3a7c08c22e33493d9e0be7f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5687 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: sterni <sternenseemann@systemli.org>
2022-05-26 r/4142 feat(wpcarro/ava): Support earlyoomWilliam Carroll1-0/+4
Strange start to my Monday where I spent ~2h debugging my hanging NixOS. Strangely I'm not sure I made any changes to my configuration to trigger this, and I was finding this hard to reproduce: - graphical X sessions hung (once when opening Chrome) - TTYs hung (during `nix-build` and `rebuild-system`) Per kn's recommendations whenever a system is hanging, see if it's reachable over the network (e.g. SSH). Since I didn't have my laptop, I downloaded Termius on my iPhone, which I used to mosh into ava, which is a surprisingly nice UX. I suspect my machine (with only 8GB of RAM) was OOMing, but I'm not certain. Thanks to grfn I installed `earlyoom`. For more commentary, check-out Profpatsch's blog post about this: https://profpatsch.de/notes/preventing-oom What went well: - Thankfully I installed a Matrix client on my iPhone last week, which allowed me to troubleshoot with the #tvl folks AIs: - I'd like some instrumentation like Prometheus, Loki (`journald`, `dmesg`), so that I can accumulate troubleshooting information that isn't destroyed when I reboot my machine (which I did 1/2-dozen times today). - Consider adding `git` metadata to `system.nixos.label` to get more useful information in a GRUB/EFI context. More unknowns: - Why can't I switch back to EFI (from GRUB) for my bootloader? Change-Id: Ie2a5a15f5c0ead346d50e331fa2937f8f3453960 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5625 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>