about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2020-10-12 r/1840 feat(gs/mugwump): Enable prometheus-fail2ban-exporterGriffin Smith1-0/+31
Change-Id: I200f206b609675632ad6103c84cc37b629ef9708 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2025 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-05 r/1839 feat(gs/mugwump): Add prometheus+grafanaGriffin Smith1-2/+77
Add config for prometheus+grafana to mugwump, served at metrics.gws.fyi with an Acme SSL cert. Change-Id: Icc22b5079a24edbc4469233e938f926d92f63eb3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2024 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-05 r/1838 feat(gs/system): Install dnsutilsGriffin Smith1-0/+1
Change-Id: I577b42abe76c7be3434e7ca4f34bcf84a4a6e6bc Reviewed-on: https://cl.tvl.fyi/c/depot/+/2023 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-05 r/1837 feat(gs/home): Install ghGriffin Smith1-0/+1
Change-Id: I13d918565b9a46b3e5e11936e5b7787e9ecce719 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2022 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-05 r/1836 feat(gs/home): Alias ec=emacsclientGriffin Smith1-0/+3
Change-Id: Ia6633731dbd26c842830f548f909a37a129a7477 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2021 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-05 r/1835 feat(gs/home): Add ssh host alias for homeGriffin Smith1-0/+5
Change-Id: Ie3a6ce172eccba3040210c581313981cdd79e2eb Reviewed-on: https://cl.tvl.fyi/c/depot/+/2020 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-05 r/1834 chore(tvl-slapd): use ARGON2 for cynthiaCynthia Revström1-1/+1
Change-Id: I81efffe384644cc2d2a625fc96ef5264dedd76ea Reviewed-on: https://cl.tvl.fyi/c/depot/+/2019 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-10-04 r/1833 feat(tazjin/camden): Install flatcam toolingVincent Ambo1-2/+8
This was previously set up manually in a nix-shell. Invocation works like this: screen fswebcam --title 'tazflat' --font 'JetBrains Mono' \ --timestamp "%Y-%m-%d %H·%M+01" -l 60 -r 1280x720 \ -d /dev/video0 --jpeg 95 /var/www/blobs/flat.jpg \ --exec 'cp /var/www/blobs/flat.jpg /var/www/blobs/flat/at_$(date +%s).jpg' Change-Id: I5ecf8fdf67240faf885fd12f428e368e2bc64dc8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2018 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-10-04 r/1832 fix(tazjin/camden): Backport 19.09 ACME moduleVincent Ambo1-7/+20
The new one is causing breakage for me, but I have no time to debug this, so I'm backporting the old one. AFAICT the simp_le included in this channel should be new enough to have ACMEv2 compat, we'll see if it works. Change-Id: Ib8b869a5af8a0418a66017a0cf3b9336df5f2d05 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2017 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-09-30 r/1831 feat(gs/system): Init mugwumpGriffin Smith6-61/+144
Init the config for mugwump, a NUC that I bought from ncl and which I'm going to use as a simple home server and ssh bastion box. Since this is the first time I've set up a server using my nixos config, this also moves a bunch of desktop (xserver, audio, etc.) related config out of modules/common.nix and into a new modules/desktop.nix. Coming soon: nixos-rebuild switch --target, but in the depot! Change-Id: I67bd5ba6e3c26f80f77058af186fd41cc245d5d2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2016 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-30 r/1830 feat(gs/home): install pvGriffin Smith1-0/+1
Change-Id: I5681cc844f73dc087e0fb060caf6cacd91ffb50c Reviewed-on: https://cl.tvl.fyi/c/depot/+/2015 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-29 r/1829 feat(gs/system): Add ISO configGriffin Smith2-2/+24
Add configuration for a live install iso based on the depot's nixpkgs pin and with a couple of networking-based options tweaked a bit. Change-Id: I208bd0f7815fe54fc805e8995a8288d7a0d36f84 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2014 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-28 r/1828 feat(whitby): add firefly userJonas Höglund1-0/+6
Change-Id: Ib785577c173795d5cc6ccd7a3ee7e6a568439a0d Reviewed-on: https://cl.tvl.fyi/c/depot/+/2013 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-28 r/1827 feat(users/firefly): initialize with key for asJonas Höglund2-0/+10
Change-Id: I7da98cd442d4dcd9fdecb8b5030f8681a2f03cd5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2012 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-27 r/1826 fix(tvl-ebooks): Fix bug where Cynthia was not correctly supressedBen Cartwright-Cox1-3/+3
Change-Id: Ic94d69e5e9dbe33a29dc00a3f0d9e848952dd1a0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2011 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-27 r/1825 feat(tvl-slapd): add fireflyJonas Höglund1-0/+5
Change-Id: I28b71a429f2093e2ff3d7148cfaa2425f322dfea Reviewed-on: https://cl.tvl.fyi/c/depot/+/2010 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-27 r/1824 chore(tvl-ebooks): Add Nix derivationVincent Ambo1-0/+7
Welcome to CI! Change-Id: I8fae7b06c9867c60380cc237861ea29817045117 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2009 Tested-by: BuildkiteCI Reviewed-by: ben <tvl@benjojo.co.uk>
2020-09-27 r/1823 feat(whitby): add cynthia owoCynthia Revström1-0/+6
Change-Id: Id9e06ce8645ec2dbe1167d2b0b023159d3e91487 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2008 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-27 r/1822 feat(ebooks): Add tvl-ebooks codeBen Cartwright-Cox8-0/+687
Change-Id: If519e789a91fbf427373daa383c6ae00ba5e0b6c Reviewed-on: https://cl.tvl.fyi/c/depot/+/2007 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-27 r/1821 feat(cynthia): add SSH CACynthia Revström1-0/+7
I am a Catgirl Authority OwO :3 Change-Id: Id1f2579fe20e3081ad895738211e78285de8d2f3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2006 Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: cynthia <cynthia@tvl.fyi> Tested-by: BuildkiteCI
2020-09-27 r/1820 docs(REVIEWS): Add a note about where to clone anonymouslyVincent Ambo1-1/+1
Change-Id: Ib56deb65c169f538bce3e3ef3223a3fb636e9c6e Reviewed-on: https://cl.tvl.fyi/c/depot/+/2004 Tested-by: BuildkiteCI Reviewed-by: ben <tvl@benjojo.co.uk>
2020-09-27 r/1819 feat(tvl-slapd): add ben to slapdBen Cartwright-Cox1-0/+5
Change-Id: Iadec1d04b086f878c408a8867778f6bd75254dfc Reviewed-on: https://cl.tvl.fyi/c/depot/+/2005 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-27 r/1818 chore(paroxysm): Reduce quote upload timeout to 2 hoursVincent Ambo1-1/+1
I think 24 hours is more generous than we'd like these to be. Change-Id: Ie56822f98942ab74048d908ab821a404dc841e4a Reviewed-on: https://cl.tvl.fyi/c/depot/+/2003 Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: eta <eta@theta.eu.org> Tested-by: BuildkiteCI
2020-09-27 r/1817 feat(tazjin/emacs): Add function for quick Songwhip lookupsVincent Ambo2-0/+30
Adds a function `songwhip-lookup-url` which looks up the supplied URL on Songwhip and copies the Songwhip link if a result was found. This is bound to `s-s w` for convenience. Change-Id: I3b529a058ee56f992942760910822490e6324259 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2002 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-24 r/1816 feat(tazjin/emacs): Add Swedish keyboard layoutVincent Ambo1-0/+2
It's a little easier to use this for Swedish than to compose the ä and ö in the Norwegian layout. Additionally - to avoid problems when switching to keyboards that have no hardware remapping - re-applies the caps:super flip on every layout switch. Change-Id: I1b2c55761514745291d0eeb1502fa503f84f8aa1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2001 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-09-24 r/1815 feat(tazjin/camden): Enable bitlbeeVincent Ambo1-0/+5
Change-Id: Ie7a438c2038b3689600499f1d3a7e3d70bca120a Reviewed-on: https://cl.tvl.fyi/c/depot/+/2000 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-09-23 r/1814 fix(gs/emacs): Don't double up on branch prefixGriffin Smith1-3/+1
magit-read-org-clubhouse-branch-name returns the branch with the prefix in it already, so we don't need to add it again here. Change-Id: I0e753173bc366a8458ccd38a936ae078bbac79f8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1999 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-09-23 r/1813 chore(3p/rr): Upgrade to latest master with Zen workaroundsVincent Ambo2-50/+12
* bumps to HEAD of master * include the zen_workaround script in the drv output Change-Id: I8f5f33a61b9395295c02f3ea5e930a81b3ffa7ac Reviewed-on: https://cl.tvl.fyi/c/depot/+/1990 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: glittershark <grfn@gws.fyi>
2020-09-23 r/1812 fix(gs/emacs): Set notmuch saved searches at the top-levelGriffin Smith1-0/+12
For some reason having these in a with-eval-after-load isn't working, so let's try this out. Change-Id: Ia419962626c7bd26776ed6fde977698998a18155 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1998 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-23 r/1811 fix(gs/emacs): Update config for ligaturesGriffin Smith2-3/+5
Change-Id: Id29919953e5e512389abf8744025ee36b121f70d Reviewed-on: https://cl.tvl.fyi/c/depot/+/1997 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-23 r/1810 feat(gs/emacs): Make cider test report buffer biggerGriffin Smith1-0/+2
Change-Id: I107f7bea2b1cd795293f495f14d9066d2ffee326 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1996 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-23 r/1809 feat(u/riking/fish): add ddateKane York1-0/+3
Change-Id: I0ec5b8937d9cecce05a89c7c69ff40ab053dc644 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1995 Reviewed-by: kanepyork <rikingcoding@gmail.com> Tested-by: BuildkiteCI
2020-09-20 r/1808 fix(users/multi): don't attempt to invoke a string as a function.multi1-1/+1
This fixes a typo in f43dfd4b8e20e51300ec44cc9555cdad612b95c6. Change-Id: Ifc3050adc4c25a146a5d8c72e964d9aefb3bc580 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1994 Tested-by: BuildkiteCI Reviewed-by: multi <depot@in-addr.xyz>
2020-09-20 r/1807 feat(users/multi): refactor home manager configuration on whitby.multi2-10/+20
Previously this used git checkouts of home-manager.git and nixpkgs.git on whitby, which is self-evidently non-reproducible, so instead use pinned tarballs of those repositories as data sources. Change-Id: I3bd01e44d746c62e6bfbeab2e7698ae9954c8a94 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1993 Tested-by: BuildkiteCI Reviewed-by: multi <depot@in-addr.xyz>
2020-09-20 r/1806 feat(users/multi): synchronise local changes on whitby.multi1-1/+15
Change-Id: I9330c9905e772ab7bbfea12728a1dff9c0d1718f Reviewed-on: https://cl.tvl.fyi/c/depot/+/1992 Tested-by: BuildkiteCI Reviewed-by: multi <depot@in-addr.xyz>
2020-09-20 r/1805 chore(tazjin/camden): Add my user to the quassel groupVincent Ambo1-1/+1
Makes log access easier ... Change-Id: I1b4df00ad2015b6a51029772a43f3e6544ba8d18 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1991 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-18 r/1804 fix(notable): Truncate first lines if they don't fit the windowVincent Ambo1-4/+8
Change-Id: I00746aa285d7854b8e35b6d00aa7c608ccf8ce77 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1988 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-18 r/1803 refactor(notable): Remove dependency on dashVincent Ambo2-12/+9
It was only used for #'-each, for which the built-in dolist is sufficient. Change-Id: I326d8b733b36b2edfebd4e9384e70b8a570fee0f Reviewed-on: https://cl.tvl.fyi/c/depot/+/1987 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-18 r/1802 feat(notable): Add note archival functionVincent Ambo1-0/+22
Archiving notes is done by just changing the filename to an `archive-` instead of `note-` prefix. Unarchiving is not yet implemented and should be done by moving the note to a *new note ID*. Archiving is bound to 'a' in the note list. Change-Id: I8c225a25bdac5147a26030f47f24edee497f69df Reviewed-on: https://cl.tvl.fyi/c/depot/+/1986 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-18 r/1801 feat(notable): Add a mode for displaying single notesVincent Ambo1-1/+48
This mode displays the note's timestamp in its header line, and the content in its body. Some rudimentary key bindings are set up in the list view to view notes in full (RET), and in both modes to quit the current buffer (q). Change-Id: Icb35baec220a9efcfa2b86617b16178669df996f Reviewed-on: https://cl.tvl.fyi/c/depot/+/1985 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-18 r/1800 fix(gs/emacs): Use html_url when linking to PRsGriffin Smith1-1/+1
'url is the API url of the PR, we want html_url to link to the web UI Change-Id: I058592cde8c01e0feb5f7d51b577f1c41137a717 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1989 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-18 r/1799 fix(gs/emacs): Fix undefined variable in magit-clubhouse integrationGriffin Smith1-1/+1
Change-Id: Ic56e6f3b1e8fca717c8765eb47739cecf3e5cc56 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1984 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-17 r/1798 feat(notable): Add note listing functionalityVincent Ambo2-2/+61
Adds a very simple initial display of all notes in chronologically descending order. Currently this is a read-only view with no available actions. Change-Id: I6d47363909f1a9ab8d1d18a1c44966883aa758ad Reviewed-on: https://cl.tvl.fyi/c/depot/+/1983 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-09-17 r/1797 feat(notable): Add a function for listing existing notesVincent Ambo1-5/+16
Change-Id: I23697b4798ee4d4e94d3f7c1a4e4e9abf5115345 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1982 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-17 r/1796 feat(emacs-pkgs/notable): Begin implementation by adding note-takingVincent Ambo3-0/+124
I'm writing a note taking system because I don't like any of the existing ones. This adds a note-taking function which prompts the user for note content and persists it in a user-configurable directory. Next steps are roughly: * listing notes * editing notes * archiving notes At which point I would consider this functional. The idea is to keep adding incremental improvements that fit my workflows after that, and if it ends up being useful for anyone else - great. Change-Id: I7ae0eb4015511ebdbaeff92d8d32502726eb57c4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1981 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-09-16 r/1795 fix(tvix): Convert INVALID_ARGUMENT to InvalidPathGriffin Smith1-2/+6
The code that calls queryPathInfoUncached explicitly catches the InvalidPath exception and translates it into a null result - but the RPC code was throwing a regular old Error for invalid paths. At some point we should get rid of all the exception-driven control flow in this whole thing, but in the meantime this gets us back to functional. Change-Id: I2a38790ee0c691ab0c8394c7738d7693fa42aa10 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1980 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
2020-09-15 r/1794 refactor(3p/tvix): make Value.primOp a std::shared_ptrKane York2-4/+3
Change-Id: I04cc42ae62d2ff71b07fde8e3710dcc9b4363a05 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1973 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-15 r/1793 fix(3p/tvix): properly zero the largest member of ValueKane York1-1/+4
The static_assert is present to force us to change the constructor when a member grows. Change-Id: Ifa4f4a03eb7ce13cff109cf26ecf0032045905e9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1972 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-09-15 r/1792 refactor(3p/tvix): convert NixList usage to shared_ptrKane York4-12/+12
Starting to reclaim memory. Fairly simple mechanical replacement. Change-Id: I6b4c5c5596729470d1a049eba61e69e8097decf4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1971 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-09-14 r/1791 refactor(tvix): Make static strings constexpr string_viewsGriffin Smith8-42/+46
Make all static std::strings constexpr std::string_views, and replace concatenation with absl::StrCat where necessary. Technically all of these are constant, so they really don't need to be top-level statics - and since I'm trying to get rid of as much global state as possible in preparation for making the nix daemon properly multithreaded I figured I'd knock these out while I was at it. Change-Id: Ibd3ad9ef68f0a0eacb135541b39fdb13dae042e1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1939 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>