about summary refs log tree commit diff
path: root/users/glittershark/system
AgeCommit message (Collapse)AuthorFilesLines
2020-12-14 r/1997 feat(gs/system): Add some rust aliasesGriffin Smith2-2/+8
These take precedence over cabal old-style aliases, since those aren't used anymore Change-Id: Iad1593bffb35d8f7b9c7df16c7c2da09a6ebb906 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2220 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-12-14 r/1996 feat(gs/system): Setup fingerprint scannerGriffin Smith2-1/+23
This is kinda nifty Change-Id: I1b9a6762a5349974f539d2c4938a2b3dcdf488ad Reviewed-on: https://cl.tvl.fyi/c/depot/+/2219 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-12-01 r/1977 fix(gs/system): Explicitly add all default i3 keybindingsGriffin Smith2-58/+84
Something I changed - perhaps removing lib.mkOptionDefault - caused the *default* i3 keybindings (things like switching workspaces and toggling the split layout which I had not added myself) not to get added. This adds them back. Change-Id: I301a346eabb4f7fc4499b60a4c26956fb1e08b0d Reviewed-on: https://cl.tvl.fyi/c/depot/+/2218 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-12-01 r/1976 feat(gs/yeren): Swap caps+escape on built-in keyboardGriffin Smith1-0/+33
This actually appears to be working this time! Change-Id: I3e10eb7e1621a050e024b8b53313f13d44a999ae Reviewed-on: https://cl.tvl.fyi/c/depot/+/2217 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-12-01 r/1975 fix(gs/yeren): Attempt to work around some of the text flickering issuesGriffin Smith1-0/+26
This is a whole pile of things suggested by the internet to fix the weird text flickering issues I've been seeing. upon first look it seems like one of the kernel params (or all of them, or some combination of them) fixed the issue. Change-Id: Idc98902b46d4cba3bab367f6e22fb9ad10b26a26 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2216 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-12-01 r/1974 feat(gs/system): Add me to the docker groupGriffin Smith1-0/+1
Running docker is silly if I can't access it Change-Id: I476915dacd44fac1ce4c533a84849fa6175d8107 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2215 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-12-01 r/1973 feat(gs/system): Update xrandr layout for yerenGriffin Smith1-3/+5
At some point I should just convert this into an option that gets set per-machine...but whatever. Change-Id: I745fc5126469e887f8657e990d14a7e8b5085330 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2214 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-11-30 r/1965 fix(gs/home): Run lorri on all linux systemsGriffin Smith1-0/+2
Accidentally removed this everywhere when I disabled it for Darwin Change-Id: Ia3480f1fbc6431a27da8c1de03bf0a66808f46b9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2208 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-11-30 r/1964 feat(gs/home): Add rust development toolsGriffin Smith2-0/+9
rustup and rust-analyzer for now, but this will likely also have shell aliases and the like Change-Id: I7838e537a72600410205e018a0c86be1493a9ffe Reviewed-on: https://cl.tvl.fyi/c/depot/+/2207 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-11-30 r/1963 feat(gs/system): Write mugwump symlink to /tmpGriffin Smith1-2/+2
To avoid it clogging up git status in the depot Change-Id: I102126dedb427d632679ee091aced6971495b8cc Reviewed-on: https://cl.tvl.fyi/c/depot/+/2206 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-11-30 r/1962 feat(gs/system): Init yerenGriffin Smith7-26/+78
My new work laptop, a dell XPS 13. Change-Id: Ieab06622c9b280182025edfa63adf649e5fc70d8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2205 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-11-26 r/1921 feat(gs/system): Enable docker on dev machinesGriffin Smith2-0/+6
This was locked away in the urbint-specific module, but I use it elsewhere. Change-Id: Ifced2196dc22a9dbed74a18d4e1fed9488eb0e26 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2152 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-11-26 r/1920 fix(gs/system): lorri as a home-manager svc doesn't work on DarwinGriffin Smith1-2/+0
Change-Id: Ieaf14d955157c759f12d70ddfd518789281dab1a Reviewed-on: https://cl.tvl.fyi/c/depot/+/2150 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-11-26 r/1919 chore(glittershark): Remove everything Urbint relatedGriffin Smith8-108/+7
bye urbint! Change-Id: I87ded275e6e5298e4e29c38775bae47a8fc07bac Reviewed-on: https://cl.tvl.fyi/c/depot/+/2149 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-11-25 r/1917 feat(glittershark): Get everything working on DarwinGriffin Smith6-29/+37
Update everything in home-manager to properly work on darwin (including adding dobharchu as a top-level attribute from //users/glittershark/home) and also fix font faces and sizes in emacs config Change-Id: Ica889dd212876030d5c2a916a71d8b614e6964f1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2147 Reviewed-by: glittershark <grfn@gws.fyi> 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-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-21 r/1894 chore(3p): Bump nixpkgs to nixos-unstable from 2020-11-21Vincent Ambo2-14/+2
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-16 r/1878 feat(gs/emacs): Add some config for vtermGriffin Smith1-4/+9
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-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-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-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-12 r/1841 feat(gs/mugwump): wigglydonke.rsGriffin Smith1-0/+6
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-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-12 r/1784 feat(gs): Bind a push-to-talk keyGriffin Smith2-0/+45
Bind a key, which I've located at the top-left of my right keyboard, to a momentary push-to-talk by muting and unmuting my pulseaudio source using xbindkeys. I had been putting this off for a while because i3 doesn't support binding different commands to keyup than to keydown events, but the xbindkeys support appears to have solved that reasonably well, plus it's got Scheme in it so that's cool. If there's demand for it I'll gladly expose this as a reusable, configurable home-manager module outside my users dir in the depot. Change-Id: Ie591c93037dbdac364d5d8a718d99edb70780789 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1975 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-09-09 r/1780 feat(gs/home): Add chupacabra home-manager to CI targetsGriffin Smith4-2/+6
Also move fcitx to system, since it's a nixos thing not a home-manager thing. Change-Id: I3e047494a478520e939d48fc72cc91a2d797bf74 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1969 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-09-09 r/1779 revert(gs/home): "Install clj-kondo and babashka"glittershark1-2/+0
This reverts commit 6489f080997f06b70302f4df7fb1afe0f35656ff. Reason for revert: build of graalvm fails :'( Change-Id: I0fcd173988ab900c837d0040117c3120e29469a1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1942 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-09 r/1777 feat(gs/home): Install clj-kondo and babashkaGriffin Smith1-0/+2
These depend on graalvm which is gonna be a big ol build Change-Id: I3b67e22677390921e408b9fea12191718b27cd7f Reviewed-on: https://cl.tvl.fyi/c/depot/+/1967 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-09 r/1776 feat(gs/system): Install fcitx+cloudpinyinGriffin Smith2-0/+11
汉语时间! Change-Id: Ic52c2d393ee55c1d251416a66c15f4b6d6722bfa Reviewed-on: https://cl.tvl.fyi/c/depot/+/1966 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-09 r/1775 feat(gs/zshrc): Change cursor shape based on modeGriffin Smith1-6/+27
Use a block cursor in normal mode, and a beam cursor in insert mode. Change-Id: I1cf5eebeaadf41cd006b324de62eb7f6804e149a Reviewed-on: https://cl.tvl.fyi/c/depot/+/1965 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-09-08 r/1772 feat(gs/home): Install multimcGriffin Smith1-1/+1
Change-Id: Ib0fcf1fd51749d3878e66b350ecb8e81daa47aab Reviewed-on: https://cl.tvl.fyi/c/depot/+/1962 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI