about summary refs log tree commit diff
path: root/users (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-12-16 r/3266 feat(ops/modules): Provide some modules to all nixosesGriffin Smith1-2/+0
For modules that are gated behind a mkEnableOption, it's reasonable to just provide them to all Depot-built nixos systems without requiring people to explicitly import them. This defines a special module called `default-imports.nix` which imports these modules (currently just tvl-cache.nix and automatic-gc.nix, as I'm being rather conservative adding things here to avoid breaking anyone's system), then provides that module as one of the `modules` passed at the top-level nixos/eval-config invocation. Change-Id: I3be299ab10ae4c451ef11c514edb3c89318a2278 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4345 Tested-by: BuildkiteCI Autosubmit: grfn <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in>
2021-12-16 r/3265 feat(sterni/aoc/2021): day 15 solutionsterni1-0/+35
Change-Id: Idca2ae2829a7ee9e856aa7fcdc716c3055051062 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4363 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2021-12-16 r/3264 chore(sterni/aoc/2021): add shell for running solutions.bqnsterni1-0/+10
Change-Id: I2e192dec9eb863a1b2386d40d26eeeeb57e1ed28 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4350 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-12-15 r/3263 feat(sterni/aoc/2021): day 14 solutionsterni1-0/+33
Change-Id: I8b6c0c5d1ced89eadaeea3fb619d37e77a439965 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4349 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-12-15 r/3262 refactor(sterni/aoc/2021): fold over 2d array instead of nested liststerni1-1/+1
Seems to save some allocations and thus recover some performance compared to the two separate folds we had before. Change-Id: Ie3d283103e6a9b8aa702db633d9c988fda1b2903 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4348 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-12-15 r/3261 feat(ops/modules): Add shared module for TVL cacheGriffin Smith1-9/+2
Add a shared nixos module for configuring whitby as a binary nix cache, and refactor tverskoy to use this module. This is enabled via an option to pave the way for including it as an import in all depot-generated nixos configs at some point in the future. Change-Id: I6dcc0e8eb48b1ac34457666dceebeedd5da6c526 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4344 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: grfn <grfn@gws.fyi>
2021-12-15 r/3259 chore(grfn/system): Drop kernel.nix module, -ck patchesGriffin Smith1-39/+0
Per http://ck-hack.blogspot.com/2021/08/514-and-future-of-muqss-and-ck-once.html, linux-ck is no longer being maintained, so there's no point in keeping this around anymore. Change-Id: I514505c21e272080653ff81725dcfcadb2eab2b7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4343 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-12-15 r/3252 chore(3p): bump NixOS channels to 2021-12-15sterni1-1/+1
* Switch from (unused) NixOS 21.05 to newly released NixOS 21.11 channel. * grfn/machines/yeren: Linux 5.14.x -> 5.15.x * 3p/gerrit, 3p/gerrit_plugin/oauth: update dependency bundle output hashes to what whitby comes up with now. Change-Id: Id3bfe3d07b9223f77ec628954783a6b0a48f4086 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4310 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in>
2021-12-15 r/3251 fix(users/wpcarro): Delete and/or fix broken targetsVincent Ambo5-65/+103571
(we're doing this over GVC) Co-Authored-By: William Carroll <wpcarro@gmail.com> Change-Id: I7a65ee8b99c30366f73b4e5f0e22d9c2af6e2f1e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4336 Autosubmit: tazjin <mail@tazj.in> Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-15 r/3249 fix(wpcarro/nix): Remove <briefcase> referencesWilliam Carroll53-172/+151
Angle-bracketed references are a Nix anti-pattern, and thankfully this repository enforces this as a standard. TL;DR: - Drop angle-bracketed references - Change `briefcase` -> `users.wpcarro` - Fix any resulting regressions - Fix //users/wpcarro/tools/simple_vim - Mark //users/wpcarro/boilerplate/typescript and related projects as broken - drop .skip-subtree file, enabling depot CI Change-Id: I7153cbabafa617bfd6b199370cbec65cb75441f6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4325 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-14 r/3245 refactor(3p/lisp): Move things from //users/wpcarro/third_party/lispVincent Ambo8-138/+0
* move packages and adapt them for the depot structure instead of briefcase * drop linear-programming package, it didn't build anyways Note that at least some of these packages (e.g. prove) are deprecated upstream, but lets sort that out later. Change-Id: I7f5a5faa29d57f060b21ac8e1706090866a82000 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4330 Autosubmit: tazjin <mail@tazj.in> Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-14 r/3241 feat(users/sterni/emacs): provide BQN interpreter via Nixsterni2-4/+24
For this we create a directory containing a nix-inject.el file using writeTextFile where we can string interpolate as much as we please and merge that into a single emacs.d directory with the config *.el files tracked in the normal tree using symlinkJoin. Change-Id: I0e39591587a54527214783d4380456d2763da091 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4324 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2021-12-14 r/3238 refactor(sterni/aoc/2021): use a fold instead of last scan elementsterni1-1/+1
We can use the reverse swap trick to get a forward fold. Change-Id: I88185e2ff0b41ec1454f414db2d24b1c8173ac2d
2021-12-13 r/3236 feat(grfn/bbbg): Display flash messagesGriffin Smith5-18/+98
Get flash working via a functioning cookie-store session middleware, and display flash messages if present at the top of every page. Change-Id: If5f267dee3f41ef7954ea82667822c596e1b0474
2021-12-13 r/3235 fix(grfn/bbbg): Handle attended=NULL in typeaheadGriffin Smith1-3/+5
Change-Id: I000f115298dc8d3c18b5c0a6581e5423aa6892e7
2021-12-13 r/3234 fix(grfn/bbbg): Left join to attendeesGriffin Smith1-2/+2
Change-Id: Ic158a2c77e92410f078b67907b2a9537e2cb1392
2021-12-13 r/3233 feat(grfn/bbbg): InitGriffin Smith35-0/+2549
This will eventually become a signup sheet + no-show tracker for my local board game meetup group Change-Id: Id8d1d80d95d1e2fda5041275cff2fecfd6fa43f1
2021-12-14 r/3230 refactor(sterni/aoc/2021): determine width/height in the same foldsterni1-2/+1
Change-Id: I39410171402cedc3ee8d9ac972557656ed12de53
2021-12-13 r/3229 feat(sterni/aoc/2021): day 13 solutionsterni1-0/+60
Change-Id: I9cfa8a28854cbee7e8e1b457faf9c572353e803f
2021-12-13 r/3228 refactor(sterni/aoc/2021): name input data more consistentlysterni1-17/+17
Change-Id: Ibcea43d2e51f14d8b1b021050310f88d44d970d3
2021-12-13 r/3227 feat(users/wpcarro): add OWNERS fileWilliam Carroll1-0/+3
Change-Id: Id6eeee0f97b9a7195664e5c2434e9d545929a042
2021-12-14 r/3226 subtree(users/wpcarro): docking briefcase at '24f5a642'Vincent Ambo766-0/+175420
git-subtree-dir: users/wpcarro git-subtree-mainline: 464bbcb15c09813172c79820bcf526bb10cf4208 git-subtree-split: 24f5a642af3aa1627bbff977f0a101907a02c69f Change-Id: I6105b3762b79126b3488359c95978cadb3efa789
2021-12-13 r/3225 feat(sterni/aoc/2021): day 9 solutionsterni1-0/+38
Change-Id: I90e7a47d5418abeff1ae7cc5757b6a8b3b0d1086
2021-12-13 r/3224 feat(sterni/aoc/2021): day 7 solutionsterni1-0/+29
Change-Id: I8c8b535defb42f15eafc816ebe953e51b11ea702
2021-12-13 r/3223 feat(sterni/aoc/2021): day 3 solutionsterni1-0/+51
Change-Id: Id14281f7b18ddaf6875e5dd8398249a10a9474af
2021-12-13 r/3222 refactor(sterni/aoc/2021): allow variable bases ≤ 10 for ReadIntsterni1-3/+4
Change-Id: Ie035134a4b3d478ce836aa00016122e0f49a5a28
2021-12-13 r/3221 feat(sterni/aoc/2021): day 2 "solution"sterni1-3/+41
Change-Id: Ifbd50274f0b09305991a49e7453ac1f13089e57e
2021-12-13 r/3217 fix(tazjin/emacs): Fix tdlib version check if max-version is setVincent Ambo1-1/+1
This version interpolated in by Nix in the lines above instead of being loaded from Elisp, as that would require starting telega inside of that build (which is a bit messy because of async elisp). Change-Id: I775844acb6928db76516f06188b19c713f765ab8
2021-12-13 r/3216 feat(tazjin/emacs): Check telega/tdlib compatibility in depot CIVincent Ambo1-0/+27
This keeps biting me at runtime whenever these are out of sync. Change-Id: If523974e6ad2754ea19123eda0e5fda0a865f408
2021-12-13 r/3215 fix(tazjin/emacs): Use telega from MELPAVincent Ambo1-2/+8
The stable versions are too old to be compatible with nixpkgs-unstable Change-Id: I8edb125024460f605ff640cd486779877fa0d256
2021-12-13 r/3213 fix(tazjin/russian): Minor Elisp fixesVincent Ambo2-4/+4
Change-Id: I759182ccb49d7a72ca8a031c829608c9eee70277
2021-12-13 r/3212 feat(tazjin/tverskoy): Ensure ~/screenshots existsVincent Ambo1-0/+4
Change-Id: Icae43b17a95c638429351273bb16111097c3e594
2021-12-09 r/3166 fix(tazjin/emacs): Gerrit remote is now 'origin'Vincent Ambo1-3/+1
Change-Id: I44998510ff4be2fa137ea4c81f888e63ea438a56
2021-12-09 r/3165 feat(tazjin/russian): Add words 601-700Vincent Ambo1-2/+103
Change-Id: I17b1362502952d96b8787ad3c055d66f212fd60b
2021-12-09 r/3164 feat(grfn/emacs): Tweak rust async_test snippetsGriffin Smith1-2/+2
Add a stop at the `flavor` argument, since some async tests can use the default config. Change-Id: Iffd726b304d0d9dd94938bf23b2688715d1f4e20
2021-12-09 r/3162 feat(grfn/emacs): Add a prolog use_module snippetGriffin Smith1-0/+7
Change-Id: Ib5226a1ad0f084d3755cbfe40bf3556b3fa7fb2b
2021-12-09 r/3161 feat(grfn/emacs): Add some prolog-mode mappingsGriffin Smith1-1/+3
Change-Id: If1677024f9a211eee5d42a03413b5058dd797b9a
2021-12-08 r/3157 feat(tazjin/russian): Add words 551-600Vincent Ambo1-2/+50
Change-Id: Ie2a670fc2aa24457a9fc7f3f22d5336d97e7789f
2021-12-08 r/3156 feat(tazjin/russian): Add words 501-550Vincent Ambo1-1/+54
Change-Id: Id9e4b9eb5e330a5331ca0cc2c7af2c4ade4a6ace
2021-12-08 r/3155 feat(tazjin/russian): Add words 451-500Vincent Ambo1-2/+52
Change-Id: I5e0c8d61be0c0170370298aa4c6ee0a6607f24b7
2021-12-08 r/3154 feat(tazjin/russian): Add words 401-450Vincent Ambo1-1/+53
Change-Id: I1101ebf2252390fc4ae308de43f09f606118615b
2021-12-07 r/3151 feat(3p/agenix): Import latest version from GitHubVincent Ambo1-0/+1
It's time to automate secrets deployment on hosts like whitby. Change-Id: If7006124b4b5fec16b4c3570488c11e484f93888
2021-12-06 r/3145 feat(tazjin/tverskoy): Configure tlp to keep battery between 40-70%Vincent Ambo1-3/+12
This is supposedly better for battery health, and since the machine is usually plugged in while in the office it might be a good idea. Note for myself: `sudo tlp fullcharge` ~30 min before needing to leave with a fully charged battery. Change-Id: I3664264403f56c15e055822190f30c3a90c93ead
2021-12-06 r/3144 feat(tazjin/emacs): Ensure passively is installedVincent Ambo1-0/+1
Change-Id: I58f007ba54fd0b48fdff6e8409463d5d5e105f17
2021-12-06 r/3143 refactor(tazjin/russian): Use passively.el for Russian learningVincent Ambo1-40/+10
Replaces the functionality previously implemented here with the now generalised implementation in passively.el Change-Id: Ibe7a1b7d512ddcb700bc330cbdf62811399c6cfe
2021-12-06 r/3141 chore(tazjin/emacs): Configure persistence location for passivelyVincent Ambo1-0/+4
Change-Id: I00965fc24ccfddc278e7ab9243661aea282ff385
2021-12-03 r/3140 fix(gs/emacs): Return empty string if nothing in inboxGriffin Smith1-1/+1
otherwise we'd return the string "nil", which with the substring-ing that was happening would end up as "Inbox: i" in the status bar Change-Id: I567a6042b592dd9313bfa22d480c22936494a8c1
2021-12-03 r/3139 fix(gs/emacs): Fix title of clocked-in taskGriffin Smith1-1/+5
For the i3 status bar - this API changed to return a list recently, which is super frustrating Change-Id: Ib921b6431331c766b67ea5053f2d9f3d86cf54b4
2021-12-01 r/3129 feat(sterni/emacs): subscribe to the TVL feedsterni1-0/+1
Change-Id: Iac08e992a4c610a6f152c1dc5e681b17298b8834
2021-12-01 r/3128 feat(sterni/aoc/2021): day 1 solutionsterni2-0/+32
Change-Id: I0781b2aa3624df9a3158296edcbbbf2ee845102b