about summary refs log tree commit diff
path: root/users/tazjin (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-06-16 r/4240 chore(tazjin/emacs): keep only one workspace on tverskoy's screenVincent Ambo1-2/+2
this machine is now sort of permanently stationed in the office, and thus permanently connected to the big screen. with this setup, it's comfortable to have it available for a single workspace (e.g. for videos playing there), but it's too confusing and unergonomic to use that screen for anything else. Change-Id: I03556b777c79f68d65d4d8bf1ba1f18982650a8b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5872 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-14 r/4238 refactor(3p): fetch impermanence via nivVincent Ambo3-3/+2
Change-Id: Ic6bc463304643a7f983a5f7c182f95a7706ca35b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5868 Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-14 r/4237 fix(tazjin/nixos): Disable localtimedVincent Ambo2-2/+5
It only sometimes works and that's not enough times. Change-Id: I11c1bc6e5c2eec4706bd935352188ffa83057c8f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5869 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-14 r/4236 chore(tazjin/tverskoy): Put / on ZFS instead of tmpfsVincent Ambo1-3/+2
Maybe this will lead to me being able to log in to this machine again eventually. Change-Id: I348d6ea3b8d4cc6b8083766669ba1371b3d1216b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5866 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-06-13 r/4234 chore(tazjin/nixos): update initial hashed passwordVincent Ambo1-1/+1
I still have the issue where after reboots I can't log in to my machines without going through a horrible dance with booting a NixOS installer and so on. I suspect this has somethign to do with this initial hashed password set here, but I was unable to verify what password I've actually set up there, so I'm resetting it to a known string to verify my theory. Change-Id: Ic9d495255ca48110920cf2df371946ac146dcd72 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5865 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-11 r/4233 fix(tazjin/zamalek): Stop NetworkManager meddling with DNS settingsVincent Ambo1-0/+1
Change-Id: I3a00d23a604aa56f7a566a1caac0314cad90deff Reviewed-on: https://cl.tvl.fyi/c/depot/+/5863 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-09 r/4231 feat(tazjin/nixos): install volumeiconVincent Ambo1-0/+1
Change-Id: I28977356c5a051addb1bb98e3c2aa2c81494fd74 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5861 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-08 r/4230 chore(3p/sources): Bump channels & overlayssterni1-1/+1
* //users/tazjin: the services.localtime module was renamed https://github.com/NixOS/nixpkgs/pull/175831#issuecomment-1146590790 * //3p/nixpkgs: glimpse is broken, pick it from stable channel Change-Id: I4ea3f243e4575d3d7992ee6377fa9890c46db1ed Reviewed-on: https://cl.tvl.fyi/c/depot/+/5848 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-30 r/4192 fix(tazjin/nixos): Always install moreutils everywhereVincent Ambo1-0/+1
I keep having this in the user env instead, not good. Change-Id: I683efc9782281053cb4aee1875c3a664c8dcdae8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5794 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-30 r/4191 chore(tazjin/nixos): Cleanup of systemPackagesVincent Ambo1-4/+3
Change-Id: Ica651a2c392dc33b4f076e097d7b3889d50d96c6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5793 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-30 r/4190 chore(3p/sources): Bump channels & overlayssterni1-1/+1
This time, the emacs-overlay seems to have unbroken itself. * //users/tazjin: use zfs.latestCompatibleLinuxPackages instead of linuxPackages_latest, since ZFS needs time to catch up (i.e. ZFS is broken with a 5.18 kernel). See https://github.com/NixOS/nixpkgs/pull/174091#issuecomment-1137175076 Change-Id: I8d1123af236a5e56618f6ac7a2e22511594b7d4b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5792 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-29 r/4187 revert(users/tazjin): Revert "Welcome to the danger zone!"tazjin1-1/+0
This reverts commit ad7f07e6f1a10e3a16cb01113fb687b2f539d891. Reason for revert: This was just a test of b/167. Change-Id: I1f709ed1c76c69555bf987370d4e521bd61e915e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5801 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-29 r/4186 feat(users/tazjin): Welcome to the danger zone!Vincent Ambo1-0/+1
Debugging b/167. Just ignore this. Change-Id: I516f52b34a2777a0e40e98cda43bb090720a70af Reviewed-on: https://cl.tvl.fyi/c/depot/+/5785 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2022-05-27 r/4149 chore(3p/sources): Bump channels & overlayssterni1-1/+1
* //nix/buildLisp: disable CCL once again due to The Mysterious Runtime Bug™. * //users/tazjin/nixos: uninstall dmd which is broken in nixpkgs atm. Change-Id: I8dd2220af48a7e087584b6f50529fb8477e6a2fb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5699 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-26 r/4145 chore(tazjin/home): persist another path on both laptopsVincent Ambo2-1/+1
Change-Id: I57f174c66b06212cf6fbce26ec9097a83b24abd0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5693 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-26 r/4137 refactor(tazjin): Additional restricted-eval cleanupVincent Ambo2-22/+7
Change-Id: I4baa94f65a16248023b5fb0e2dd305d6984566c8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5690 Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-26 r/4133 refactor(tazjin/nixos): Prepare for restricted-evalVincent Ambo3-6/+6
Change-Id: I6adbe1d53581dddc4c7c3a44516fbed3a661daff Reviewed-on: https://cl.tvl.fyi/c/depot/+/5689 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-25 r/4111 feat(tazjin/emacs): Configure zetteldeft for MarkdownVincent Ambo1-0/+15
Change-Id: Ib652374d42b6f701a7371325355871f8cc5325f9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5650 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-25 r/4110 feat(tazjin/emacs): add zetteldeft & deft to prepare for showdownVincent Ambo1-0/+2
The buildup to the showdown of org-roam vs. zetteldeft. I can never quite get into org, but I wanna find a solution to the problem I think I have which I think these solve Change-Id: I03f7ee63b0af8dc3f8c52ad6fa4d6fa5048540bd Reviewed-on: https://cl.tvl.fyi/c/depot/+/5644 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-25 r/4109 revert(tazjin/emacs): Don't ignore messages from blocked sendersVincent Ambo1-3/+1
This reverts commit a989a91f9f13950f50a12c1374bbdccb42cac8c8. This seemingly doesn't work anymore, and it is also not required anymore because I no longer have the problem this solved. Change-Id: I3c9c076b45f9aa865260ce7cb103538f694fe3e0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5643 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
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-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-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-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/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 Ambo4-0/+83
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 Ambo2-12/+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-07 r/4014 chore(tazjin/emacs): Improve TV screen layout positioningVincent Ambo1-5/+5
Change-Id: Ic9a6b30c04382c57ccb8620786f8f6a091c8e306 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5532 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-04 r/4001 chore(users): reflect emacsGcc -> emacsNativeComp renamesterni2-2/+2
Change-Id: I0217b1e316767b48b79f23e9d644b00b7fcc2df2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5518 Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI