about summary refs log tree commit diff
path: root/users (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-11-23 r/1916 feat(users/multi/home): add readline configuration and nix-shell handling to ↵multi1-3/+40
bashrc. This adds my standard inputrc to my home-manager configuration, via the latter's readline module, and adds nix-shell detection to my bash prompt string. Additionally, nix-shell is wrapped in a shell function, so that entering a nix-shell environment automatically runs bash as a subprocess where appropriate, as the default environment spawned by nix-shell is not to my liking. Change-Id: Id5b1b9415a185ad9920f268c66de32d6ccc0b452 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2146 Reviewed-by: multi <depot@in-addr.xyz> Tested-by: BuildkiteCI
2020-11-23 r/1915 fix(gs/home): Don't override alacritty versionGriffin Smith1-14/+0
This was only done to get an upgraded version, which is no longer necessary with the nixpkgs bump but was also causing incompatibilities with opengl Change-Id: Ic398b4ac6caf24a1d40b7a4917b5053fba12d97a Reviewed-on: https://cl.tvl.fyi/c/depot/+/2145 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-11-23 r/1914 feat(tazjin/rlox): Implement single-character scanningVincent Ambo3-0/+139
... still not that interesting, but at this point slightly divergent from the book: The book embraces mutability for interpreter state, initially for tracking whether an error condition has occured. I avoid this by instead defining an error type and collecting the error values, to be handled later on. Notes: So far nothing special, but this is just the beginning of the book. I like the style it is written in and it has pointed to some interesting resources, such as a 1965 paper titled "The Next 700 Languages". Change-Id: I030b38438fec9eb55372bf547af225138908230a Reviewed-on: https://cl.tvl.fyi/c/depot/+/2144 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-11-23 r/1913 feat(tazjin/rlox): Add basic program structureVincent Ambo3-10/+36
... as well as a Nix derivation, because why not. Change-Id: Iaf2591ab72676fe0732c3f807b3aa0cff13fb4ef Reviewed-on: https://cl.tvl.fyi/c/depot/+/2143 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-11-23 r/1912 feat(tazjin/rlox): Bootstrap programVincent Ambo5-0/+48
This is going to be the first of two interpreters from "Crafting Interpreters". Change-Id: I354ddd2357444648d0245f35d92176dd176525d8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2142 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-11-22 r/1911 feat(tazjin/emacs): Enable midnight.elVincent Ambo1-1/+4
Change-Id: I22bedd80c6e99ccefefa7840ec37496360937842 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2137 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-11-22 r/1907 feat(whitby): Move wigglydonke.rs to whitbyGriffin Smith1-6/+0
Mugwump is too unstable for such an important internet service Change-Id: Ic714200ce5ce51f366777f538b4a6f443f010960 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2124 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2020-11-22 r/1902 fix(users/multi/home): re-add overridden htop package to home-manager ↵multi1-0/+2
configuration. I previously removed my local package set from my HM config while the latter was being made readTree compatible. Now that both the HM config and the local package set can be built with readTree, I can re-enable the locally-overridden htop package. Change-Id: I77e20248c010bc7027e0b0a3164ec48d6ec29f31 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2132 Tested-by: BuildkiteCI Reviewed-by: multi <depot@in-addr.xyz>
2020-11-22 r/1901 refactor(user/multi/pkgs): make my local package set readTree-compatible.multi2-4/+11
This adds readTree configuration for accessing my local package set, and also adds these packages to the CI configuration. Change-Id: Icd2d16e85859343902e73a466f3c6ba8d781537f Reviewed-on: https://cl.tvl.fyi/c/depot/+/2131 Tested-by: BuildkiteCI Reviewed-by: multi <depot@in-addr.xyz>
2020-11-22 r/1900 fix(users/multi/home): use local depot checkout.multi1-2/+6
This reverts 1478317d149539d74fa4bad8414658fb7119ea07. Using depot.depotPath in my home-manager configuration results in my NIX_PATH and home-manager config file path being pointed at a copy of the depot in the nix store, which makes building from my local depot checkout a bit cumbersome. Change-Id: Ib687d3e8147cb32df071d3c19a5300294ea62c0c Reviewed-on: https://cl.tvl.fyi/c/depot/+/2130 Tested-by: BuildkiteCI Reviewed-by: multi <depot@in-addr.xyz>
2020-11-22 r/1899 refactor(users/multi): migrate whitby home-manager config to ↵multi3-69/+11
readTree-compatible version. Add a new home-manager-compatible configuration file which loads the common config attrset used by the readTree machinery into a structure which the home-manager command line tool understands. Garbage-collect the old home-manager configuration file used on whitby, and update the HOME_MANAGER_CONFIG path to point at the new shim config. Instead of having a per-environment HM configuration (not that I have more than one environment), there's now a single configuration which evaluates to an attrset of configurations, which can be loaded and built using "home-manager build -A $attr". Change-Id: Id8b35dc89aabffedf1a4dadfa0d3d4b914e4e2e7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2129 Tested-by: BuildkiteCI Reviewed-by: multi <depot@in-addr.xyz>
2020-11-22 r/1898 refactor(users/multi): make my user directory CI-compatible.multi3-0/+93
My home-manager config is not currently readTree compatible, which means that it's not built by CI. This constructs a house of cards around home-manager to make this buildable in CI. Change-Id: I80480f24ff47347f46d708edbbf34d59fa76adac Reviewed-on: https://cl.tvl.fyi/c/depot/+/2123 Tested-by: BuildkiteCI Reviewed-by: multi <depot@in-addr.xyz>
2020-11-22 r/1897 refactor(users/multi/whitby): use the depot's own source location attribute.multi2-9/+2
The depot knows where it is, not because it knows where it isn't, but because it does an "import ./." at the top level and then makes this path value available in the attrset passed to the rest of the tree. My home-manager config on whitby previously involved manual specification of the depot checkout location on whitby, however this isn't necessary when the depot can already magically tell us where it is. Change-Id: I68577c8ef2cda6ba5bc46cf8f4821aac021c8066 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2122 Tested-by: BuildkiteCI Reviewed-by: multi <depot@in-addr.xyz>
2020-11-21 r/1895 fix(users/multi/whitby): fix home-manager configuration on whitby.multi1-1/+1
"let pkgs = import <nixpkgs> {}; in pkgs.home-manager.src" evaluates to the source derivation for home-manager, however home-manager's configuration machinery expects to be passed the store path of this derivation instead of the derivation object itself. Change-Id: I6b0ba3efaff9d080900349529576443192b058e9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2121 Reviewed-by: multi <depot@in-addr.xyz> Tested-by: BuildkiteCI
2020-11-21 r/1894 chore(3p): Bump nixpkgs to nixos-unstable from 2020-11-21Vincent Ambo4-21/+6
Included fixes for random breakage: * 3p/awscli: pick from the stable channel; it is broken on unstable * 3p/googletest: bumped version & removed patches that nixpkgs applies * 3p/lisp/cffi: bumped library version for SBCL compat * 3p/nix: fix libsystemd attribute * 3p/nix: reformatted (clang-format handling of ternaries changed) * glittershark/home: Use home-manager from nixkpgs * glittershark/kernel: bumped linux-ck patch hash * glittershark/kernel: removed "patch patch" * multi/whitby: Use home-manager from nixpkgs * tazjin/frog: drop Sourcetrail (it doesn't build currently) Note that in addition to these changes, some previous CLs updated the versions of git and cgit which was necessary for this channel bump, but which could not be done in the same commit due to the nature of the subtree merges. Change-Id: If2563e8a68e2750c4b913a976ff7b93b42e8b7f3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2110 Tested-by: BuildkiteCI Reviewed-by: multi <depot@in-addr.xyz> Reviewed-by: glittershark <grfn@gws.fyi>
2020-11-21 r/1893 fix(glittershark/kernel): Ensure kernel changes cachebust linux-ckVincent Ambo1-0/+1
Previously changed kernel versions would not cachebust the patch download, because it would still be using the same SHA hash. Forcing a different store path (by adding the version to the name) also forces a redownload of the patch (and in turn cause the hash to mismatch), avoiding this as a silent cause of failures in channel updates. Change-Id: I81a136ee2401126795cf042b0aadf2a1e7a707b4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2114 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-11-21 r/1887 chore(tazjin/emacs): Minor cleanup of unused modes and configVincent Ambo4-6/+0
Change-Id: I38c6a32339bf7606b733a938b4e55df2506a13a7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2107 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-11-18 r/1883 chore(users/multi): Update htop derivation for new upstream.multi13-3609/+10
- htop has moved upstreams, which has been producing new releases, so update the derivation to pull from the new repository on GitHub. - All of the patches I have locally have been merged upstream, so drop them from the depot. - Pull from a reasonably recent git commit instead of from a numbered release, as the ZFS ARC stats and CPU meter columnation patches haven't made it into a release yet. Change-Id: I66ad4c035df07709abf4f75a9d4e1486920091d0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2105 Reviewed-by: multi <depot@in-addr.xyz> Tested-by: BuildkiteCI
2020-11-16 r/1879 feat(glittershark): Add resume + deploy it to gws.fyiGriffin Smith24-0/+2503
Change-Id: If9cf64c97621313af86074752d0959506059888a Reviewed-on: https://cl.tvl.fyi/c/depot/+/2079 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-11-16 r/1878 feat(gs/emacs): Add some config for vtermGriffin Smith3-5/+34
for some reason installing it directly via nix doesn't work atm, so I have this hack here Change-Id: I45093633c35e756988078eb136c6e7bc3c532eea Reviewed-on: https://cl.tvl.fyi/c/depot/+/2078 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-11-04 r/1868 feat(gs/emacs): Disable truncate-lines in org modeGriffin Smith2-6/+13
Change-Id: Ie1a539d894ae6223196f9e5b912317a00716ba72 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2067 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-11-04 r/1867 fix(tazjin/emacs): Do not assume '.txt' files are MarkdownVincent Ambo1-1/+0
Change-Id: I5cab039938e415facf81492e7e3775672ee45db9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2068 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-10-27 r/1865 refactor(gs/system): Prefer dobharchu over cerberusGriffin Smith1-18/+16
This machine is significantly faster. Also, drop nixbuild, since the transfer speed is too slow to make it worth it. Change-Id: Ic14ef96e03a81dc429e4b4fec961c891dbb4b2b9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2066 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-27 r/1864 feat(gs/home): Add ssh host alias for cerberusGriffin Smith1-0/+7
My old macbook, which I still use sometimes Change-Id: I3ad080083b67b6cfab4cd31a4dce0a80a7227bd5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2065 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-27 r/1863 feat(gs/emacs): Add bindings for smerge-keep-{lower,upper}Griffin Smith1-1/+3
Change-Id: I83a251b551e0d6c9ca6994b8f9111ffee33653fc Reviewed-on: https://cl.tvl.fyi/c/depot/+/2064 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-27 r/1862 feat(gs/emacs): Include repo in PR linksGriffin Smith1-1/+13
When posting a link to a PR created during an org headline, include the name of the repository the PR was opened to in the link text. Change-Id: I6c564aee3b098d3c6f96c7d7d609aa2638bc98e1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2063 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-23 r/1860 fix(gs/mugwump): Add missing scheme to grafana datasourceGriffin Smith1-1/+1
Change-Id: I954fcca422f2e1325c2455cb1c4d77d53673901f Reviewed-on: https://cl.tvl.fyi/c/depot/+/2061 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-23 r/1859 feat(gs/mugwump): Only run nix GC monthlyGriffin Smith1-0/+2
Change-Id: I3b81fe5a76c26e42fb6d2937ce980e12964d70b9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2060 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-23 r/1858 refactor(gs/mugwump): Only one buildkite builderGriffin Smith1-1/+2
There's just not enough juice in this machine to run more than one. Change-Id: I6e6afc86337ca023e718023e4789fc29b6d8e175 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2059 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-23 r/1857 feat(gs/system): Only enable remote builders on chupacabraGriffin Smith2-25/+25
Don't enable whitby+nixbuild as remote builders on every machine (eg not mugwump), only chupacabra Change-Id: I8aa8f20d76da4ec0d8caa64ef04697b7e76cbc03 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2058 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-23 r/1856 feat(gs/home): Add script to rebuild mugwumpGriffin Smith1-0/+10
Eventually this should be generalized, but for now this is good enough + nice to have Change-Id: Icca815b651cfb6f8f0cd2d6a1f64e56c63d2fef5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2057 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-23 r/1855 feat(gs/emacs): Enable luaGriffin Smith1-1/+1
Change-Id: Iff1eed338323a49de504a02f870e17eeedde57d3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2056 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-13 r/1849 feat(gs/system): Setup for yubikeyGriffin Smith2-0/+8
Install some packages and enable the necessary services + udev stuff to make yubikeys usable Change-Id: I8aee8a8b06895880c8195f02fb57b1216a5fdffc Reviewed-on: https://cl.tvl.fyi/c/depot/+/2049 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-13 r/1848 feat(gs/system): Install htop on all systemsGriffin Smith1-0/+1
In this case mostly so I can have it on mugwump Change-Id: Ifa24caf607b30c1d034f4a9e7044ece88fcee38e Reviewed-on: https://cl.tvl.fyi/c/depot/+/2048 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-13 r/1847 feat(gs/chupacabra): Use mugwump as a binary cacheGriffin Smith1-0/+3
Since buildkite is running on there, it'll be nice to be able to download things. Obviously if this laptop ever becomes a laptop again this'll have to go away (or just become the external domain) Change-Id: I5fc49c061dbf79f8d523244bcf822e8d96fa6d42 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2047 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-13 r/1846 feat(gs/chupacabra): Include desktop moduleGriffin Smith1-0/+1
I accidentally dropped this when reconfiguring things around to get mugwump working, and when I rebuilt my x session turned off! Change-Id: I252c90b6f4d796fef1f8183739fcc8dbfdd0fbf4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2046 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-13 r/1845 fix(gs/mugwump): Make nginx scraper play well with SSLGriffin Smith1-0/+9
Having SSL on all the vhosts in nginx breaks the prometheus scraper with the default config, since because it's targeting a different domain the cert validation fails. It's pointing at localhost, so it's fine to just have it not validate. Change-Id: I1cbddc73335d4fa060115c253d69e27059a3113f Reviewed-on: https://cl.tvl.fyi/c/depot/+/2045 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-13 r/1844 feat(gs/mugwump): Add some buildkite agentsGriffin Smith1-5/+25
Add a couple of buildkite agents, based off of the config we're using for whitby (thanks!) for building my own projects that are closed source. Change-Id: I2c73538595002fdf4116f534dc9a5806f17e0558 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2044 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-13 r/1843 feat(wigglydonke.rs): Make image the width of the pageGriffin Smith1-1/+6
The default size is a little bit large Change-Id: I9f7096cdf9f9ba8433e6ead6124bdc04fc88877b Reviewed-on: https://cl.tvl.fyi/c/depot/+/2043 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-13 r/1842 feat(wigglydonke.rs): Add imageGriffin Smith1-0/+0
The one I had downloaded before was empty, accidentally Change-Id: I37c2ce8c556aa3f728ee675ccf14ace8416dcca4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2042 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-10-12 r/1841 feat(gs/mugwump): wigglydonke.rsGriffin Smith3-0/+17
Kids Love Wiggly Donkers! Change-Id: I1d37ecc88dd81d91e05fb597155bb91b93f1bccb Reviewed-on: https://cl.tvl.fyi/c/depot/+/2041 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
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-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