about summary refs log tree commit diff
path: root/users/tazjin/nixos/tverskoy/default.nix (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-01-08 r/3574 feat(tazjin/tverskoy): Install audacityVincent Ambo1-0/+1
Change-Id: I49b0bc23d83f7aac3d60ed72dcc759cdf9779154 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4831 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: tazjin <tazjin@tvl.su>
2021-12-24 r/3373 feat(tazjin/emacs): Use Emacs input methods in X11 buffersVincent Ambo1-0/+8
This is much easier than the shitty keyboard layout switcher which caused all kinds of terrifying bugs. Unfortunately the layout switcher remains additionally because this doesn't work with Quassel (Qt dropped support for XIM). Change-Id: I7c58cebf9391216b6e7134d8c283d52cb18332de Reviewed-on: https://cl.tvl.fyi/c/depot/+/3497 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: tazjin <mail@tazj.in>
2021-12-17 r/3284 chore(tazjin/tverskoy): Increase / tmpfs size to 8GVincent Ambo1-1/+1
Any less and building 'awscli' is not possible ... Change-Id: I99105b767f4afa4cf0d072d57b08963bc12ff994 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4391 Reviewed-by: tazjin <mail@tazj.in> Autosubmit: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-12-16 r/3266 feat(ops/modules): Provide some modules to all nixosesGriffin Smith1-2/+0
For modules that are gated behind a mkEnableOption, it's reasonable to just provide them to all Depot-built nixos systems without requiring people to explicitly import them. This defines a special module called `default-imports.nix` which imports these modules (currently just tvl-cache.nix and automatic-gc.nix, as I'm being rather conservative adding things here to avoid breaking anyone's system), then provides that module as one of the `modules` passed at the top-level nixos/eval-config invocation. Change-Id: I3be299ab10ae4c451ef11c514edb3c89318a2278 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4345 Tested-by: BuildkiteCI Autosubmit: grfn <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in>
2021-12-15 r/3261 feat(ops/modules): Add shared module for TVL cacheGriffin Smith1-9/+2
Add a shared nixos module for configuring whitby as a binary nix cache, and refactor tverskoy to use this module. This is enabled via an option to pave the way for including it as an import in all depot-generated nixos configs at some point in the future. Change-Id: I6dcc0e8eb48b1ac34457666dceebeedd5da6c526 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4344 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: grfn <grfn@gws.fyi>
2021-12-13 r/3212 feat(tazjin/tverskoy): Ensure ~/screenshots existsVincent Ambo1-0/+4
Change-Id: Icae43b17a95c638429351273bb16111097c3e594
2021-12-07 r/3151 feat(3p/agenix): Import latest version from GitHubVincent Ambo1-0/+1
It's time to automate secrets deployment on hosts like whitby. Change-Id: If7006124b4b5fec16b4c3570488c11e484f93888
2021-12-06 r/3145 feat(tazjin/tverskoy): Configure tlp to keep battery between 40-70%Vincent Ambo1-3/+12
This is supposedly better for battery health, and since the machine is usually plugged in while in the office it might be a good idea. Note for myself: `sudo tlp fullcharge` ~30 min before needing to leave with a fully charged battery. Change-Id: I3664264403f56c15e055822190f30c3a90c93ead
2021-11-27 r/3101 chore(tazjin/tverskoy): Minor config cleanupsVincent Ambo1-2/+5
Change-Id: I434c0b8d5e5ce2d077630de2dd71de309b7d076f
2021-11-27 r/3100 fix(tazjin/tverskoy): Persist Zoxide state between rebootsVincent Ambo1-0/+8
Change-Id: Ib1e1fe9749e56eefc83016b1946e6fe0b1f72339
2021-11-24 r/3089 feat(tazjin/tverskoy): Install some more frequently used toolsVincent Ambo1-0/+6
... rather than nix-shelling them every time. Change-Id: I9ab6ad67efbd6c16c7fd8cc9938d86d35f8418bc
2021-11-13 r/3066 feat(tazjin/tverskoy): Enable picom by defaultVincent Ambo1-1/+6
... rather than launching it manually in a shell when I need it, which is more often now that I have a large screen. Change-Id: Ia526af98e513d29e70aeb093442465dce256c333 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3874 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-11-11 r/3035 chore(tazjin/tverskoy): Make automatic-gc more conservativeVincent Ambo1-2/+2
It keeps gc'ing things I'm using more than I would like. Some sort of meme potential about my storage use on the laptop here. Change-Id: I0f8078a92effaf32bcadc3355507469babbc2eb8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3826 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-11-10 r/3031 fix(tazjin/tverskoy): Timezone -> Europe/MoscowVincent Ambo1-1/+1
Change-Id: I8ce9f4ff01f29e89f1acda258969622290cb6cc7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3824 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-11-02 r/2997 feat(tazjin/tverskoy): Add dunst configurationVincent Ambo1-0/+9
This one is basically taken from some gist linked in the official dunst readme and makes nice little boxes. Change-Id: I5bee8488f333dcc2f7040b741729065ef8617ae0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3767 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-10-15 r/2972 feat(3p/dfmt): Add derivation for the D code formatterVincent Ambo1-1/+1
Change-Id: I4e06676f45df334db4fbc4f1657a6f16828547dc Reviewed-on: https://cl.tvl.fyi/c/depot/+/3727 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-10-12 r/2966 feat(tazjin): Install D related toolingVincent Ambo1-0/+2
Change-Id: I4c27b7a3b89ffd3a84313b70af3dfda2b2f6fa98 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3714 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-10-10 r/2961 feat(tazjin/tverskoy): Install unzipVincent Ambo1-1/+2
... the amount of times I've not had this and nix-shell'd it is ridiculous. Change-Id: I8ac3a7a2915e68d235f8349373b2575e6ebe1cb5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3710 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-10-10 r/2959 feat(tazjin/tverskoy): Attempt to enable hardware video accelerationVincent Ambo1-0/+8
Change-Id: I0592f5f9be9b01d7809e4d6a2d282e3398dbed4d Reviewed-on: https://cl.tvl.fyi/c/depot/+/3706 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-08 r/2955 chore(tazjin/tverskoy): Timezone -> Europe/StockholmVincent Ambo1-1/+1
Change-Id: I8247ac6c15d3ee89e902737f160d5f0acae707bd Reviewed-on: https://cl.tvl.fyi/c/depot/+/3703 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-10-08 r/2954 feat(tazjin/tverskoy): Enable printing serviceVincent Ambo1-0/+1
Change-Id: Ic74cf57cafb34b18ef632e4718493146dc063236 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3702 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-09-25 r/2915 feat(tazjin/emacs): Install & configure elfeedVincent Ambo1-0/+1
It's worth trying out with a small initial list of feeds that I normally read anyways. Change-Id: I196bf522c159e9630624e60dd1b6419ba987bcd9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3635 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-09-15 r/2860 feat(tazjin/tverskoy): Enable adbVincent Ambo1-1/+2
Change-Id: I088d2b0526f10d848da56d8192e93b79d6297746 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3539 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-09-10 r/2836 feat(tverskoy): Enable services.depot.automatic-gcVincent Ambo1-0/+10
Change-Id: I5268ea93cf9727ad7fc1beedf9ec72a9d9e6eae8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3526 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-08-25 r/2775 feat(tverskoy): Attempt #2 to install SteamVincent Ambo1-0/+3
Change-Id: I79bcd37f498ec8a337b65b069d085c672b830ee9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3247 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-08-04 r/2704 feat(tverskoy): Install picom compositorVincent Ambo1-0/+1
... for the rare cases where I am watching a movie on this laptop. Change-Id: I9f6a5a4079b32a67d46e744c024c2accf09b3d6d Reviewed-on: https://cl.tvl.fyi/c/depot/+/3273 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-08-04 r/2703 fix(tverskoy): Ensure gtk-launch is installedVincent Ambo1-0/+1
This is required for launching desktop applications from XDG shortcuts via counsel. Change-Id: I147fb0d6568e359c23655230b2a56214715827f6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3267 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-08-01 r/2700 fix(tverskoy): Set timezone to Europe/MoscowVincent Ambo1-1/+1
Change-Id: Ibcf9322086d96847aa9c629c5535965db32ba4fe Reviewed-on: https://cl.tvl.fyi/c/depot/+/3266 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-07-20 r/2695 fix(tverskoy): Persist Mullvad VPN settingsVincent Ambo1-0/+1
Change-Id: Icd33a613e613b48038c193c85721d9dd061549c1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3254 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-07-14 r/2687 fix(tverskoy): Ensure rink is installedVincent Ambo1-0/+1
Yes, this is a fix. Change-Id: Ie80dc0f60c6343388388fba3327816d8a1b0fbe0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3244 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-07-14 r/2686 chore(tazjin/tverskoy): Enable fwupdVincent Ambo1-0/+1
Very worried about this, Lenovo has a knack for bricking devices with firmware updates ... Change-Id: Idc111fe9d4bd7edf1e6c633040cf35e82f858724 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3224 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-06-05 r/2648 chore(3p/nixpkgs): Bump channels to 2021-06-05Vincent Ambo1-0/+1
Includes the following depot changes & fixes: * stable moves to NixOS 21.05 * stable isn't used anymore (but we'll keep the mechanism) * haskell overlay's `random` override is removed (YAY!) * grfn/iso: Switch to regular kernel rather than latest kernel, as latest kernel is currently marked as broken due to zfs * grfn/home: Use julia_16-bin temporarily julia 1.5 (current julia-stable, source built release in nixpkgs) doesn't pass its own test suite. Julia 1.6 doesn't have a source built package in nixpkgs yet, so julia_16-bin appears to be the only working julia derivation currently. * tazjin/tverskoy: Use zfs unstable, as stable zfs doesn't work with the latest kernel Co-Authored-By: Griffin Smith <grfn@gws.fyi> Co-Authored-By: sterni <sternenseemann@systemli.org> Change-Id: I6f2e3d9f75077e4755de6bde9104d44b584cbe4c Reviewed-on: https://cl.tvl.fyi/c/depot/+/3174 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: grfn <grfn@gws.fyi>
2021-05-22 r/2608 feat(tverskoy): Add mail fetching timer for lieerVincent Ambo1-0/+19
Change-Id: I60b09d2c81c3c69f744a12adc41fbdc43d0fb488 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3133 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-05-22 r/2607 refactor(tazjin/emacs): Switch to sending mail via lieerVincent Ambo1-2/+2
This drops the msmtp requirement from my configuration; there's still some cleanup to be done but I need to double-check this in a few environments first. Change-Id: I298f4ff77b45cb214fbccee84e9bbd861508d11a Reviewed-on: https://cl.tvl.fyi/c/depot/+/3132 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-04-20 r/2527 refactor(ops/nixos): Ensure that pkgs == depot.third_party.nixpkgsVincent Ambo1-20/+10
This is currently done ad-hoc in a bunch of our systems, but we should just do it centrally. The commit message is a bit of a lie, as this doesn't yet update grfn's systems. Change-Id: Ic771c1a1da78ec5de9cffbf94c296dce5e11fd84 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3047 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-04-17 r/2523 feat(tverskoy): enable eink toolingFlorian Klink1-1/+8
Provide ddcutil and paperlike-go in $PATH. Provide the necessary udev and kernel module plumbing so they work as non-root. Icecream-Required-From: Vincent Ambo <mail@tazj.in> Change-Id: Ic9323a45cdbb75571e8f8b3aca4b9a763c271968 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3029 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-04-16 r/2514 feat(tazjin/tverskoy): Enable TLP daemonVincent Ambo1-0/+1
Change-Id: Ie6d7a6fe07ffccf8dc18257eed54bb990e22e064 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3019 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-04-16 r/2513 chore(tazjin/tverskoy): Persist Firefox configurationVincent Ambo1-1/+2
Change-Id: If5ab38459106efdb978a21365a0f26ae82702679 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3018 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-04-14 r/2507 refactor(tazjin/emacs): Install google-c-style by defaultVincent Ambo1-9/+3
It is easier to do the inverse of this solution: Filter out the package on the machines that get it from elsewhere. Change-Id: I2abe112e4e38822d0fc7a47ea0bcedec1e0a96e3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3010 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-04-10 r/2470 refactor: Move nixpkgs attribute to `third_party.nixpkgs`Vincent Ambo1-6/+6
Please read b/108 to make sense of this. This gets rid of the explicit list of exposed packages from nixpkgs, and instead makes the entire package set available at `third_party.nixpkgs`. To accommodate this, a LOT of things have to be very slightly shuffled around. Some of this was done in already submitted CLs, but this change is unfortunately still quite noisy. Pay extra attention to: * overlay-like functionality that was partially moved to actual overlays (partially as in, the minimum required to get a green build) * modified uses of the package set path, esp. in NixOS systems Special notes: * xanthous has been disabled in CI because of issues with the Haskell overlay * //third_party/nix has been disabled because of other unclear dependency issues Both of these will be tackled in a followup CL. Change-Id: I2f9c60a4d275fdb5209264be0addfd7e06c53118 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2910 Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2021-04-09 r/2458 feat(tazjin/tverskoy): Set search domain to 'tvl.su'Vincent Ambo1-0/+1
Change-Id: I33ae590481abae9e20ed1ac7db5de66187f26925 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2907 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-04-04 r/2437 feat(tverskoy): Configure whitby binary cacheVincent Ambo1-5/+15
Change-Id: I51d4b42998d6005da15e4d0bed82062cd4e36fe9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2848 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-04-04 r/2435 chore(tazjin/tverskoy): Mount SD card on bootVincent Ambo1-0/+6
Change-Id: Ifab7ec411f8dbd932aeee15d45ebd53e24917d04 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2846 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-03-30 r/2365 chore(tverskoy): Disable networking.firewallVincent Ambo1-0/+1
I'm only connected to my own tethering nets anyways and I can't be bothered to figure out all the things I need to open for Chromecasts, maybe later. Change-Id: Id1715b205191d4494a5a7001e1fb0f41a89d3de6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2705 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-03-28 r/2353 chore(tverskoy): Add some more missing programs and persisted pathsVincent Ambo1-0/+5
Change-Id: I3fbdbdc177471429d80ed50b4424e5f0b96e6272 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2694 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-03-26 r/2340 feat(tverskoy): Enable moshVincent Ambo1-0/+1
Change-Id: I18fa98aa6ba5892729ab130336f6a5d597865bf4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2667 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-03-23 r/2324 chore(tazjin/tverskoy): Set git.init.defaultBranch = "canon"Vincent Ambo1-0/+1
Change-Id: Ic03668c152e6d306a47ccc222d2c98901e12dfda Reviewed-on: https://cl.tvl.fyi/c/depot/+/2648 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-03-23 r/2321 feat(tazjin/tverskoy): Enable automatic screen lockingVincent Ambo1-0/+19
Defines a small helper script that resets the keyboard layout (to avoid getting stuck in Russian layout) and locks the screen via xsecurelock, and configures home-manager to launch this automatically. Fascinatingly this actually seems to be capable of locking the screen *on suspend*, not *after suspend*. Change-Id: Ib6279a445aba18c2fb5bc073b675e6e2598fa228 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2644 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-03-23 r/2320 fix(tazjin/tverskoy): Forcefully set nix.nixPathVincent Ambo1-0/+6
The out-of-sync channel was previously causing OpenGL applications in nix-shells to fail. Change-Id: Ie527ef70b49468dfb62091abfa878ba1b361fc6d Reviewed-on: https://cl.tvl.fyi/c/depot/+/2643 Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi> Tested-by: BuildkiteCI
2021-03-22 r/2317 chore(tazjin/tverskoy): Install dnsutils and moshVincent Ambo1-0/+2
Change-Id: I3d3a7543dbd09f68890d9daa6ac38c9afa49d35d Reviewed-on: https://cl.tvl.fyi/c/depot/+/2639 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>