about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2022-05-16 r/4086 docs(crimp): update README with depot informationVincent Ambo1-1/+12
Change-Id: I48aca4f96178e9f25d58900798997e55c5062b43 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5619 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2022-05-16 r/4085 chore(crimp): bump cargo dependenciesVincent Ambo1-20/+20
a simple `cargo update` Change-Id: Ieabb10ef53aeef6416c849036317995fef5b6703 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5618 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2022-05-16 r/4084 chore(alcoholic_jwt): Prepare release of v4084Vincent Ambo1-3/+4
Change-Id: Id45d4b7b33c29ed8ae3c487c4303266a8ca0fad3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5617 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-16 r/4083 chore(alcoholic_jwt): bump cargo dependenciesVincent Ambo1-34/+48
a simple `cargo update` Change-Id: I388fcb3822678e7f025f0f86c6e9af450bf29bd8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5616 Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2022-05-16 r/4082 feat(net/alcoholic_jwt): Implement Error for ValidationErrorGriffin Smith1-0/+34
This allows using it unchanged in contexts where working with &dyn Error is desirable, such as when using anyhow. Change-Id: Ide34025e432204546b2c80b14b870af42dbfbb44 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5615 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: grfn <grfn@gws.fyi>
2022-05-16 r/4081 chore(net/alcoholic_jwt): Remove travis-ci build badgeGriffin Smith1-2/+0
It looks like this has been very obsolete for a very long time Change-Id: I34d1200e3d9595f0ab9101329aec7774f965a154 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5614 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: grfn <grfn@gws.fyi>
2022-05-16 r/4080 fix(tazjin/nixos): force tgsa proxying over IPv4Vincent Ambo1-1/+1
Change-Id: I5b77d1c3a7e19144c0002d2b6f909317cfc62092 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5613 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-16 r/4079 chore(tazjin/tgsa): remove note about long image linksVincent Ambo1-2/+1
this is no longer the case since image links are now forwarded by tgsa with a cache Change-Id: I36216efb5f372115e082a11a51c04736f102debb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5612 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-15 r/4078 feat(tazjin/tgsa): use permanent media links in bbcodeVincent Ambo1-4/+22
uses the tgsa-proxied media links in the message bbcode, leading to stable image serving even if telegram swaps cdn addresses around, as long as their embed page is någorlunda the same. Change-Id: I50af1b3512d4e429fae4a2b3d10395664169e7a1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5611 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-14 r/4077 feat(tazjin/tgsa): add stable redirects to telegram imagesVincent Ambo1-5/+53
telegram occasionally changes the upstream urls at which images are served, with old/new partially overlapping in time afaict. with this commit, a new endpoint is added to tgsa at /img/$user/$post_id/$img_idx which serves a redirect to the actual image url that telegram had returned within the last hour (i.e. as per the cache). next step is to use these image urls in the bbcode itself. Change-Id: I9aa5cb56bc444cbe796868346c67f2e1e1b79413 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5610 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-14 r/4076 refactor(tazjin/tgsa): move error handling one layer upVincent Ambo1-19/+20
this lays the groundwork for adding another handler and returning handler results as `anyhow::Result<rouille::Response>`. needed for the image redirect stuff. Change-Id: I909bd9c2f46f42ea759d50662d7bc36c1f408ed3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5609 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-14 r/4075 refactor(tazjin/tgsa): factor out cache access helperVincent Ambo1-13/+21
factor out a function to access telegram posts from the cache, fetching them anew if required. a small behavioural change means that the program now takes a write lock when fetching a post, to avoid simultaneously fetching the same post many times (quite likely once it serves image redirects). Change-Id: If9c1429f86fb118dab90834f349cb222709c3a31 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5608 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-14 r/4074 feat(tazjin/tgsa): Expire cached telegram entries after one hourVincent Ambo1-5/+22
Telegram expires certain links in messages after some (unknown) amount of time; this commit is the first step to working around that by providing an image URL proxy. In order to do that, we tick two important boxes here: 1. Store an extensible data structure in the cache. 2. Expire them periodically. Change-Id: Iba192d8b71db4493c942d1baf5680bd086f8f60b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5607 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-14 r/4073 feat(grfn/xanthous): Use dual-wielding to calculate damageGriffin Smith6-17/+33
When dual-wielding weapons, do damage from both weapons and use both weapons' attack messages. Change-Id: I3c404946d0167c9b5c2bcf58ab5c3429cc5269fc Reviewed-on: https://cl.tvl.fyi/c/depot/+/5605 Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
2022-05-14 r/4072 chore(grfn/home): Drop hubGriffin Smith1-2/+0
I don't really use github anymore Change-Id: I4a44c527f42cfb1ca344b10a9bd35fe53f3fa050 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5604 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2022-05-14 r/4071 fix(grfn/bbbg): Still display today's event past midnight utcGriffin Smith1-2/+25
Change-Id: Ieb448f3998da52206a4ee89779678747514b2a82 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5511 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2022-05-14 r/4070 fix(grfn/xanthous): Don't remove items on cancelGriffin Smith1-2/+4
Only remove items selected to wield from the inventory once they're actually going to be wielded, to avoid cancelling the hand selection from causing the item to disappear Change-Id: I3c4010058ae18b205a68b035d5e189a10ffbd12c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5510 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2022-05-14 r/4069 feat(grfn/xanthous): Describe items in hand when wieldingGriffin Smith1-9/+23
Describe the items already in the hand when prompting for which hand to wield an item in Change-Id: Ifdf2703e8695aae5cbf06a3195fb790428954012 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5509 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2022-05-13 r/4068 fix(tazjin/home): Move a persistent path to shared configVincent Ambo2-1/+1
Change-Id: Id92f5aafdfc93038b0813e8005c8be736f4e90e0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5602 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-13 r/4067 fix(third_party/overlays/dhall): revert fix dhall-nix attr key gen…Profpatsch1-20/+4
This reverts commit 12869cda7dae310ec3ab792873588cefd11f3306. I didn’t depend on the bugfix in the end, so we don’t need to pull it into our ifd phase. Change-Id: Ib309f8f81f4874fa970417d7fe7bcd4bc2dc4488 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5583 Tested-by: BuildkiteCI Autosubmit: Profpatsch <mail@profpatsch.de> Reviewed-by: sterni <sternenseemann@systemli.org>
2022-05-13 r/4066 chore(users/grfn): cargo updatesterni4-583/+502
I believe this should take care of all advisories. Change-Id: I20984caa20897c0d0541f427a657990dc9b156fb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5584 Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
2022-05-13 r/4065 chore(3p/sources): Bump channels & overlayssterni1-12/+12
Change-Id: I1c5e9aae3028794cdb2939bc239bdd0caa60aa03 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5582 Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-12 r/4064 feat(sterni/emacs): enable editorconfig-modesterni2-0/+4
Change-Id: I5d0a5302321b768c7d23530d559115e3d8019223 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5581 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-12 r/4063 feat(tazjin/keys): Add zamalek_sk public keyVincent Ambo1-0/+1
Change-Id: I4a35c5cb691440c891af80290a3fd481e646815d Reviewed-on: https://cl.tvl.fyi/c/depot/+/5580 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-12 r/4062 chore(tazjin/nixos): Trust zerotier interface for TVL networkVincent Ambo1-0/+2
Change-Id: I621edeb4ed338b4b1e84de580e8d782b7b98716c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5579 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-12 r/4061 feat(tazjin/nixos): Add pass-otp extensionVincent Ambo1-1/+4
This lets pass create TOTP tokens, which is very handy. Change-Id: I85b699087e83c3d18cd8840df11c4e27c85e1f3f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5578 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-12 r/4060 chore(tazjin/zamalek): Prepare for work stuffVincent Ambo1-1/+2
Change-Id: I3d6884f2e6ccf9d8429232bd142b6b3d35e13aa9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5577 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-11 r/4059 feat(users/sterni/emacs): make org-clock-csv availablesterni1-0/+1
Change-Id: I3731803882992a7a852c24d03d50afea74d885fc Reviewed-on: https://cl.tvl.fyi/c/depot/+/5576 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-05-10 r/4058 style(tazjin/nixos/hidpi): Set DPI setting to 161Vincent Ambo1-1/+1
This results in a much more useful element size. Note that this still does not scale some core UI elements, such as the mouse cursor, at all. Change-Id: I7d4da485f0723740a7228a1561aaf50135c86032 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5575 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-10 r/4057 chore(tazjin/home): Set /depot as safe directory in gitVincent Ambo1-0/+1
This silences some new git warning about whatever. Change-Id: Iaa5225a307b850a756871fa5f494d687eb020fd7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5574 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-10 r/4056 feat(sterni/emacs): add keybind for browse-url-at-pointsterni1-0/+1
Change-Id: I537fed6292ed99791ec0d2ef90f7f40523e72dda Reviewed-on: https://cl.tvl.fyi/c/depot/+/5573 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-10 r/4055 feat(sterni/emacs): add keybind for M-x mansterni1-0/+1
Change-Id: Ia3ddc393300150712276fc8b3d3bdbcd95a5361c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5572 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-10 r/4054 feat(sterni/emacs): add key bindings for project-* commandssterni1-0/+16
Change-Id: I482b629747adebe049e1e145c13efec17a0d2b7d Reviewed-on: https://cl.tvl.fyi/c/depot/+/5571 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-10 r/4053 feat(sterni/emacs): use bash login shell for M-x shellsterni2-0/+12
bash (unlike fish) doesn't break down if TERM=dumb which is the only one I'll be using in emacs (I want to reduce my usage of things depending on ANSI escape sequence to a minimum, for stuff that needs it I still have foot). bash is started in login shell mode so /etc/profile is sourced which will a) enable direnv support and b) setup some tweaks (relating to PAGER etc.) if TERM=dumb. Since I use a semicolon for a prompt in (ba)sh, shell-prompt-pattern needs to be adjusted. Change-Id: If58b6d1edf1d9ab1883cb51c27729e23d889b16c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5570 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-10 r/4052 fix(tazjin/zamalek): Set libinput click method to 'clickfinger'Vincent Ambo1-0/+2
This is much nicer than button areas on a large touchpad. Change-Id: I369f96f6b99cdf1803be1056b31fcfab8c0deae4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5569 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-10 r/4051 feat(tazjin/zamalek): Set additional power saving optionsVincent Ambo1-0/+7
Change-Id: Ia2e897b597df88b8a2d84d281917c00ca4b318db Reviewed-on: https://cl.tvl.fyi/c/depot/+/5568 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-10 r/4050 feat(tazjin/laptop): Enable geoclue2 for redshift & localtimeVincent Ambo2-3/+3
Change-Id: I716e67ae32072de998c6f4e970b9dd34c5a92032 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5567 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-10 r/4049 feat(tazjin/modules): Add HiDPI moduleVincent Ambo2-0/+18
Change-Id: Ib690ec25ebe10af4924735553a8315609b7cbc4e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5566 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-10 r/4048 feat(tazjin/nixos): Add system configuration for zamalekVincent Ambo5-0/+84
This is my new Huawei MateBook X. Change-Id: I32a8b77dd8f53b3c89bf63f448cd2880f9a457b7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5554 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2022-05-10 r/4047 refactor(tazjin/nixos): Split up desktop/laptop configurationsVincent Ambo5-69/+83
Change-Id: I0f5d631491be0c811ad171510568aac097d2fddd Reviewed-on: https://cl.tvl.fyi/c/depot/+/5553 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2022-05-10 r/4046 refactor(tazjin/nixos): Automatically include home configVincent Ambo2-17/+23
Adds a small module that automatically picks the right home configuration for each machine. For some reason, importing home-manager itself in this module causes infinite recursion. I've not looked into why, and left the import in the tverskoy config instead. Change-Id: Ie27109a3c4478b198ab646b2e179999cf053980e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5552 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2022-05-10 r/4045 refactor(tazjin/home): Split shared config into separate fileVincent Ambo2-75/+88
Change-Id: I898f1552f449e2d6bddc8e3e3a144d6c2490ce29 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5551 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2022-05-10 r/4044 refactor(tazjin/home): Extract home manager configurationVincent Ambo2-85/+91
Change-Id: If12aca275029d2567fa420d762418ccd9e5ffcba Reviewed-on: https://cl.tvl.fyi/c/depot/+/5550 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2022-05-10 r/4043 refactor(users/tazjin): Extract non-home persistence configVincent Ambo3-24/+39
This will be reused between machines. Change-Id: Ice7835ce7e63b00284e046606309e882412cda26 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5547 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2022-05-10 r/4042 docs(tazjin/install-zfs): Add some notes for the ZFS installs I doVincent Ambo1-0/+116
I have to google all of this this each time otherwise. Change-Id: Ib7df0882e4681bd061f77a00b678641a7f37c58c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5546 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2022-05-10 r/4041 refactor(tazjin/nixos): Extract font configuration moduleVincent Ambo2-19/+25
Change-Id: I067d832155db61fb426ea3435e038231f321f71a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5545 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2022-05-10 r/4040 chore(tazjin/nixos): Remove strongswan overlayVincent Ambo3-37/+0
This is no longer required; said customer has switched to Tailscale. Change-Id: Iebe2fdfbf4013af86b7236e061cf4dbf47ac7c9e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5537 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-10 r/4039 refactor(tazjin/nixos): First step to extracting shared configVincent Ambo3-88/+97
There's some configuration shared betwene my physical machines which is just duplicated all over the place right now. What's the point of having Nix if you don't use it fully? Change-Id: Ic7e89f918d2517637b3d49617b4dc1a2cc6023b9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5536 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-10 r/4038 fix(tool/depot-deps): rebuildSystem -> rebuild-systemWilliam Carroll1-1/+1
The camelCase variant of `rebuild-system` doesn't exist, but the kebab-case version does. Side note: this `lazy-dispatch` upgrade is pretty cool. TIL `direnv` supports `watch_file` and `PATH_add`. Change-Id: Idc9109a9b0de327ddf7b9c6a4368b7bebb551196 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5565 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-10 r/4037 chore(3p/agenix): Use pkgs.fetchFromGitHub for agenix sourceVincent Ambo1-3/+4
It costs me money and time to use uncacheable builtin fetchers. Change-Id: Ie38923667cc6ac54ee85701088c9a5245ccf1c25 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5549 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: tazjin <tazjin@tvl.su>