about summary refs log tree commit diff
path: root/ops/machines/whitby/default.nix (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-12-26 r/3411 chore: friendship ended with cas, now keycloak is our best friendVincent Ambo1-2/+1
Note that the login.tvl.fyi WWW configuration is still kind of hanging around until we've settled where Keycloak lives. Change-Id: Iaca4e394a7371cafa3716ca66ef09c4eca5b1520 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4626 Autosubmit: tazjin <mail@tazj.in> Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
2021-12-26 r/3410 feat(monorepo-gerrit): Configure for Keycloak compatibilityVincent Ambo2-5/+6
Change-Id: Ic3fce02b071c09cf03e652510f16bafb795a5a1d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4614 Autosubmit: tazjin <mail@tazj.in> Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: grfn <grfn@gws.fyi>
2021-12-25 r/3409 feat(sterni/aoc/25): day 25 part 1 solutionsterni1-0/+20
Change-Id: I8ffefd2b85e595bdae2cfb2bf7b34ea63b82c457 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4627 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2021-12-25 r/3408 refactor(grfn/bbbg): Live-filter for signup formGriffin Smith6-60/+154
Rather than loading as the user types for the signup form, start the page with the full list of attendees already loaded and filter that list as the user types. There are never going to be more than 50 attendees, so there's no perf cost here, and it's nice to have the list to scroll through in the frontend. Change-Id: Iba69b101856756801183979b9384503520b6701f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4624 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-25 r/3407 feat(grfn/bbbg): Add basic signup form stylesGriffin Smith2-9/+31
Change-Id: Ifd7a7f329b77a671642ed0940d2e9dce1f8d0d82 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4623 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-25 r/3406 feat(grfn/bbbg): Link to signup form from event pageGriffin Smith1-0/+3
Change-Id: I00538c4e4400376a063b8758c64649195cd2499b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4622 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-25 r/3405 feat(grfn/bbbg): Add skeleton styling for attendee listGriffin Smith3-11/+106
Change-Id: I2c284f19f80e403c4d2851149fee917e84ea638a Reviewed-on: https://cl.tvl.fyi/c/depot/+/4621 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2021-12-25 r/3404 chore(3p): bump NixOS channels to 2021-12-25sterni2-6/+10
* 3p/lisp/closer-mop: closer-mop no longer builds with ECL (see linked issue), so let's mark it as broken for now. Change-Id: I97c29d718682cec4ecc682ff1593d0ce9aca0010 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4607 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-12-25 r/3403 fix(wpcarro/quassel): Drop quassel.wpcarro.devWilliam Carroll1-7/+1
Reuse acme cert for wpcarro.dev Change-Id: I4768bbedf9dcf8d0e08fe02849357b311237cd61 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4613 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-25 r/3402 refactor(ops/whitby): Move Gerrit secrets into agenixVincent Ambo3-0/+23
Gerrit has OAuth2 and email related secrets which now live in agenix instead of a random file on disk. Change-Id: I6220fbb7a2e2ec0102a900b4bcf6150b8b4d32ef Reviewed-on: https://cl.tvl.fyi/c/depot/+/4612 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi>
2021-12-25 r/3401 feat(whitby): Configure initial Keycloak setupVincent Ambo4-1/+59
Trialing this as an alternative to CAS that is a little easier to configure and can help us delegate authentication to other OIDC services. Change-Id: Iad63724d349334910af8fed0b148e4ba428f796b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4608 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi>
2021-12-25 r/3400 chore(wpcarro/emacs): Annotate (some of) my Emacs TODOs with wpcarroWilliam Carroll1-6/+10
...so that they can be properly tracked 🤓 Change-Id: I1e33bd5f0e0a114ef441a5f3f61f387b7afd8708 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4611 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3399 chore(wpcarro/emacs): Drop support for lsp-haskellWilliam Carroll2-9/+0
1. This is spamming my Emacs's *Warnings* buffer on init. 2. I recall this being buggy. 3. I'm not doing active Haskell development at the moment. 4. I'd prefer code-intelligence efforts be put into SourceGraph. Change-Id: I57ba28ec0b2fa3607cd67261a90d134107166c47 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4610 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3398 fix(wpcarro/marcus): Prefer tzupdate 🌎William Carroll1-3/+1
I couldn't get services.localtime to behave, but services.tzupdate WAIs. As long as I have internet, my timezone on this laptop should synchronize with my location. Change-Id: Ie2fd0e742e080fb7d6dd1adcc87c9fd22eae032d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4609 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3397 feat(wpcarro/nixos): Enable locateWilliam Carroll1-0/+2
Periodically run updatedb. Change-Id: Ia1b70e84f991ae3b584b8479f59b45639cd28a59 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4603 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3396 feat(wpcarro/marcus): Enable localtime serviceWilliam Carroll1-0/+2
Ensure my laptop's timezone is updated as I move around. Change-Id: Ifc2d1bbff2e59c0f7e0a3506152d720986ceab58 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4602 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3395 refactor(wpcarro/nixos): Define common.programs mixinWilliam Carroll3-17/+21
DRYing-up more configuration. Change-Id: I390cedd6a325ac17ef06c0887d3e0ac2b387b85b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4601 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3394 refactor(wpcarro/nixos): Define common.servicesWilliam Carroll3-18/+12
DRY things up with this mixin. Change-Id: I5791a50b01902734dff91d391e1aa90a21ce4fbb Reviewed-on: https://cl.tvl.fyi/c/depot/+/4600 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3393 feat(wpcarro/diogenes): Set EDITORWilliam Carroll1-0/+7
I should be doing most of my remote file editing using Emacs and Tramp, but sometimes a CLI command triggers the EDITOR, which is `nano` by default. I can control `vim` better than I can control `nano` within a vterm session, so I'm trying this configuration for now. Change-Id: I2023beadfe05a957bc5ddd6e6793a891521f301d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4599 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3392 fix(wpcarro/emacs): Only render unicode emojisWilliam Carroll1-0/+4
Disable ASCII and Github styles. Change-Id: Ie68fa2f0129573ea8b893db22214136d69429702 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4598 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3391 feat(wpcarro/emacs): Support emojis in Emacs 🎉William Carroll3-0/+12
The future has arrived... Change-Id: Ib4e57018cbf9168e43f403e4e0b640d0e0035352 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4595 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3390 feat(sterni/aoc/2021): day 20 solutionsterni1-0/+29
Change-Id: Id864d6e6f0722c2da5d3487bd38da80e6bff2161 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4566 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-12-25 r/3389 feat(sterni/aoc/2021): day 6 solutionsterni1-6/+21
Change-Id: Icd21b0f0c92b596fbb369d6f08715a6554259572 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4558 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-12-25 r/3388 feat(depot-scanner): forward non-processed stderr outputzseri1-0/+5
previously, depot-scanner swallowed/ignored all non-processed stderr output of nix-instantiate, which makes diagnosing failures of nix-instantiate (e.g. failed with exit status 1) difficult. This commit fixes that by always forwarding the remaining stderr messages. Example previous error message: panic: nix-instantiate failed: exit status 1 goroutine 1 [running]: main.main() /nix/store/8vb2j13bd7j5ipl7dhsnwvgr7nrrsqsi-main.go:160 +0xeb4 Example new error message: nix-inst> error: unrecognised flag '--trace-file-access' nix-inst> Try '/run/current-system/sw/bin/nix-instantiate --help' for more information. panic: nix-instantiate failed: exit status 1 goroutine 1 [running]: main.main() /nix/store/qy7v79a3harddirzmc0432vbzqhyf91i-main.go:165 +0xeb4 Change-Id: I666f3490fc648f77a5384b95edd74f6115f7920d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4553 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-12-25 r/3387 chore(zseri/store-ref-scanner): use tailored fuzz inputzseri1-8/+5
Change-Id: Ib061154c2329432469e8f7bef4598402a56bd0c3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4606 Reviewed-by: zseri <zseri.devel@ytrizja.de> Tested-by: BuildkiteCI
2021-12-25 r/3386 refactor(zseri/store-ref-scanner): get rid of proc_unroll dependencyzseri8-1123/+96
Change-Id: I0d4a8b2af814fd2870c3eb4218ee4fbaba1216f5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4605 Tested-by: BuildkiteCI Reviewed-by: zseri <zseri.devel@ytrizja.de>
2021-12-25 r/3385 fix(zseri/store-ref-scanner): no_std support and runtime panicszseri11-608/+238
This also changes the fuzzing infrastructure from proptest to cargo-fuzz, and this lead to the discovery of two mishandlings of edge-cases: * when a "path_to_store" is at the end of the input, it tried to access the input slice out-of-bounds (the `just_store` test covers that now) * non-ASCII characters lead to an out-of-bounds access in HalfBytesMask (the `non_ascii` test covers that now) Change-Id: Icaa2518dcd93e1789a2c0da4cf0fec46016d3bad Reviewed-on: https://cl.tvl.fyi/c/depot/+/4604 Tested-by: BuildkiteCI Reviewed-by: zseri <zseri.devel@ytrizja.de>
2021-12-25 r/3384 chore(zseri/store-ref-scanner): fix clippy warningszseri2-17/+6
Change-Id: I0e75feb501c56a98a73048443c36132308245945 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4597 Tested-by: BuildkiteCI Reviewed-by: zseri <zseri.devel@ytrizja.de>
2021-12-25 r/3383 feat(zseri): Add store-ref-scanner cratezseri8-0/+2018
This crate implements the scanner for finding references to store paths in uncompressed binary blobs and text files. It is currently a minimally working prototype and it is probably a good idea to polish the interface further. Change-Id: I8406f9d52d254fc3d660ea2b9bc9b7841cc815ec Reviewed-on: https://cl.tvl.fyi/c/depot/+/4596 Tested-by: BuildkiteCI Reviewed-by: zseri <zseri.devel@ytrizja.de>
2021-12-25 r/3382 chore(wpcarro/diogenes): Fix formattingWilliam Carroll1-2/+2
This is the result of `evil-indent` going wrong. Change-Id: I8d68bcb790da03b974d478760bf1224b38d56249 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4594 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3381 fix(wpcarro/diogenes): programs.fish.enable = trueWilliam Carroll1-3/+6
Hopefully this installs the KBDs for fzf, which is already installed. Change-Id: Ice7555c45d38e2e07f9fb16d3ddfc5b971c93cf6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4593 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3380 refactor(wpcarro): Define common.shell-utilsWilliam Carroll4-60/+57
DRYing up some of my configuration. Change-Id: I137692789426efc6a6c6880029e605813674fdbe Reviewed-on: https://cl.tvl.fyi/c/depot/+/4592 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3379 feat(wpcarro/marcus): Require python3William Carroll1-0/+1
I use `python3` REPL as a calculator most often. Side note: I don't have a clear model of which binaries belong in NixOS configurations and which belong in my Emacs configuration. Here's a sketch of what I'm thinking: - shared (wpcarro's coreutils for fzf, ripgrep, git, etc) - marcus - diogenes - wpcarros-emacs (see footnote) Footnote: It might be redundant to install wpcarro's coreutils in Emacs on NixOS environments, but I install wpcarros-emacs in non-NixOS environments, so I depend on them there. Change-Id: Ib2b87c8e4e04d167ccbf837e0f85606cbf272828 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4591 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3378 feat(wpcarro/emacs): Require ispell dependencyWilliam Carroll1-14/+15
Also sort my dependencies, which is why this diff is noisy. Change-Id: I998ca354d94d4c6283f9fdf76b06c08b9972ced5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4590 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3377 feat(wpcarro/emacs): Support wpcarro@wpcarro.dev in ssh.elWilliam Carroll1-5/+3
I'm accustomed to using vim in a GUI terminal to edit remote files. I'm trying to ween-off of this dependency in favor of using Emacs. Change-Id: Ib71d18135a7a9ef6ef61dfce814fffbea79a36f7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4589 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3376 feat(grfn/bbbg): Add styling for active nav itemGriffin Smith3-7/+28
Change-Id: I5fbbd5ea6965d107cb9a44dff89ac77d0598c1f1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4588 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-24 r/3375 feat(grfn/bbbg): Style home pageGriffin Smith2-1/+27
This is just a Big Old Button Change-Id: I19f5d15562fe2e0ef26de0cc61d06604e92c9c00 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4587 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-24 r/3374 feat(grfn/bbbg): Make nav width responsiveGriffin Smith1-2/+19
Change-Id: Ie0cebb48d555aa9ed894d3491d27293838b4ea7e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4586 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-24 r/3373 feat(tazjin/emacs): Use Emacs input methods in X11 buffersVincent Ambo2-2/+17
This is much easier than the shitty keyboard layout switcher which caused all kinds of terrifying bugs. Unfortunately the layout switcher remains additionally because this doesn't work with Quassel (Qt dropped support for XIM). Change-Id: I7c58cebf9391216b6e7134d8c283d52cb18332de Reviewed-on: https://cl.tvl.fyi/c/depot/+/3497 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: tazjin <mail@tazj.in>
2021-12-24 r/3372 feat(grfn/bbbg): Add styling for flash messagesGriffin Smith3-4/+29