about summary refs log tree commit diff
path: root/users/glittershark/system
AgeCommit message (Collapse)AuthorFilesLines
2021-02-24 r/2232 feat(gs/system): Add config for laptop batteryGriffin Smith4-4/+17
hibernate on low battery, and when the power button is pressed Change-Id: I6560fc770ee5707e59fb2763614de2b8000e156e Reviewed-on: https://cl.tvl.fyi/c/depot/+/2550 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-02-24 r/2231 feat(gs/home): Alias cch=cargo checkGriffin Smith1-0/+1
Change-Id: I4b0ef2f5996b6cf34724a0ed6b1c8081baa4d929 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2549 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-02-24 r/2230 feat(gs/home): Install juliaGriffin Smith1-0/+1
Change-Id: I66820d3209f0ef6120f2946acc2063cfd638512f Reviewed-on: https://cl.tvl.fyi/c/depot/+/2548 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-02-24 r/2229 feat(gs/system): Install mypaint and xdotGriffin Smith1-0/+2
Change-Id: I4153911c4ef701c10106fddd5f3bef2263aac5c3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2547 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-02-19 r/2221 chore(3p): Bump NixOS channels to 2021-02-18sterni1-2/+2
Main motivation for this is to get the openldap update that fixes 10 CVEs: CVE-2020-36221 to including CVE-2020-36230. See also this issue which lists them all: https://github.com/NixOS/nixpkgs/issues/113490 Someone should also redeploy whitby as soon as this lands in canon and all build failures have been fixed. Things done to resolve upstream breakages: * grpc no longer takes abseil-cpp as an input, it has also been removed in the override. * Upgrade glittershark's kernel to 5.11 since the linuxPackages_5_9 attribute has been removed by upstream and the patch used by them is available for 5.11 as well. * The fixed output hash for third_patry.apereo-cas changed for some reason. * Remove the pin of haskellPackages.vector from the haskell overlay. It broke as the most recent version of vector in nixos-unstable no longer depends on semigroups. This effectively updates vector from 0.12.1.2 to 0.12.2.0. * Align two comments in tvix/libstore/worker-protocol.hh because the updated clang-format now demands that. Change-Id: I2ecf10a98de935e9222acf1feaea447d4c11ed2d Reviewed-on: https://cl.tvl.fyi/c/depot/+/2538 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org>
2021-01-29 r/2158 feat(gs/emacs): Only run clj-kondo on clojure filesGriffin Smith1-0/+1
Change-Id: Ia7f18e0514f29e450dfc6a7bbdbc5e47ab7636b5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2460 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-01-29 r/2153 fix(gs/system): Don't try to set hard fd limitGriffin Smith1-6/+0
This gives a permission denied error when I try to log in Change-Id: Ibb9a66bb0ccec5fdf6839dd38ffd7e0a782687d6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2425 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-01-13 r/2090 feat(gs/yeren): Blacklist the psmouse moduleGriffin Smith1-0/+1
There appears to be an issue where the internal trackpad tries to register itself as a ps1 mouse rather than a usb one, which causes some dmesg warnings that may or may not cause actual problems. Regardless, blacklisting this should be harmless. Change-Id: I00fb539b8acf4fbf1b9125786ea6dc4f649b08c7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2364 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2021-01-13 r/2089 feat(gs/home): Add alias to cargo test and watchGriffin Smith1-0/+1
Change-Id: I6f2c7dfaa8cc9da9ca4c602b521a27ed3fecd6da Reviewed-on: https://cl.tvl.fyi/c/depot/+/2363 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2021-01-13 r/2087 feat(gs/yeren): Get internal soundcard workingGriffin Smith2-0/+14
Change-Id: Idafb951eb995a92e955e42bee5b563a738ce49c7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2361 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2021-01-13 r/2086 feat(gs/home): Install xonoticGriffin Smith1-0/+1
Change-Id: I67742f843e45d50fcff00c198ac6e8345859f7c9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2360 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2021-01-13 r/2085 feat(gs/home): Enable git-rerereGriffin Smith1-0/+1
Change-Id: I5a30b554dbda2ba53032bef3ff78b67a4cf95aa4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2359 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2021-01-13 r/2084 feat(gs/home): Install ngrokGriffin Smith1-0/+1
Change-Id: If4a8d914e110699f87e7459685fc0b620e0f0203 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2358 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2021-01-13 r/2078 chore(3p): Bump NixOS channels to 2021-01-09Vincent Ambo2-1/+5
Your regularly scheduled channel update, but slightly more regular than before. Included fixes: * 3p/emacs: Pick telega.el from stable channel, unstable is broken. * glittershark/fprintd: Compile with gcc9, since build fails with the new default of gcc10 * glittershark/fprintd: Use a global overlay for the fprintd package until https://github.com/NixOS/nixpkgs/pull/108962 lands in nixos-unstable * glittershark/home: Don't install rr, as it's not building with gcc10 Co-Author: Griffin Smith <grfn@gws.fyi> Change-Id: Ia715fef64a405a220049fc540017356fa7370e0b Reviewed-on: https://cl.tvl.fyi/c/depot/+/2341 Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: lukegb <lukegb@tvl.fyi> Tested-by: BuildkiteCI
2021-01-09 r/2065 chore(3p): Bump NixOS channels to 2020-12-28Vincent Ambo2-3/+3
Changes: * ops/nixos/tvl-slapd: The NixOS module for OpenLDAP has removed the ability to configure OpenLDAP directly and now forces users to use some kind of weird Nix->OLC mapping that is mostly undocumented. This moves the config we need to the new format in a way that may or may not work and does the other arbitrary dance steps that someone decided to impose on us. Note that this now throws lots of warnings, but I can't be bothered to fix them. * 3p: Random package removals accomodated * users/glittershark: Pin grfn's kernel to 5.9, because the CK patch is not yet updated for 5.10 * users/glittershark: Update vendor hash for pg-dump-upsert, I suspect this changed because of something in the Go build machinery in nixpkgs. The deleteVendor flag also has no effect anymore and has been removed. * users/glittershark: agda build is broken, commenting out development home-manager environment until it can be fixed * third_party/haskell_overlay: updating random needs upper boundarles of a few dependencies relaxed (curse them) * third_party/gerrit_plugins: for some cursed reason the fixed-output hash of the gerrit owners plugin fetchgit changed, updated. Same for the checks plugin. Change-Id: Ica37995fe8039d3ba80eab643867f98795c56734 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2295 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in>
2020-12-15 r/2015 fix(gs/yeren): Increase fd soft limit to 65535Griffin Smith1-0/+15
I'm building a database! I have to open all the files! Change-Id: Ie77ad6fafe837c0ddba6b5d56cdc06d787807d4e Reviewed-on: https://cl.tvl.fyi/c/depot/+/2257 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-12-14 r/2012 fix(gs/system): Prefer cache.nixos over whitbyGriffin Smith1-2/+2
cache.nixos.org is way faster Change-Id: If6f9a448b5a5ad7dab6d01e19c447e113a8d933a Reviewed-on: https://cl.tvl.fyi/c/depot/+/2256 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-12-14 r/2010 feat(gs/yeren): Re-enable rc6 and psrGriffin Smith1-2/+0
These didn't appear to be the source of the flickering after all. Change-Id: Id3cce3e7905d0af21dc6ec4dc3a11828451378fe Reviewed-on: https://cl.tvl.fyi/c/depot/+/2254 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-12-14 r/2008 feat(gs/yeren): Install a bunch of packagesGriffin Smith1-0/+23
Change-Id: Ie70a91f0efa2560a3ad088648f72e8a30451cbfe Reviewed-on: https://cl.tvl.fyi/c/depot/+/2252 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-12-14 r/2007 refactor(gs/system): Use tokei instead of locGriffin Smith1-1/+1
Change-Id: Id14865dd329df476fb209f586200928beea3e6e0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2251 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-12-14 r/2006 feat(gs/system): Setup sccache for rustGriffin Smith1-0/+7
Change-Id: Id102a25013d6a99f3db4f082a9feee87eadcd523 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2250 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-12-14 r/2005 fix(gs/yeren): Split audio interface sourcesGriffin Smith1-0/+8
Split the 6 channels of input I have from my audio interface into 2 separate channels for inputs 1 and 2, so that I can have only the one microphone feed into video chat apps. The way this is done right now is less than ideal as it doesn't support any sort of hotplugging - at some point, I should figure out the appropriate udev invocations to make that work. Change-Id: I53dc363173fa8db591b0e9cb08258d90835c1109 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2249 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-12-14 r/2001 feat(gs/system): Bring back scratch buffer bindingsGriffin Smith1-2/+8
More bindings that existed in the default i3 config but I had never explicitly specified. Change-Id: I57de0d3221afac299da9a09224564571037f67fa Reviewed-on: https://cl.tvl.fyi/c/depot/+/2245 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
2020-12-14 r/2000 feat(gs/system): Init roswellGriffin Smith4-0/+106
An ec2 node I'm using as a remote dev box Change-Id: I7d81371ecdc11d6c1b5bc06d1b4f55de534d25ad Reviewed-on: https://cl.tvl.fyi/c/depot/+/2244 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
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