about summary refs log tree commit diff
path: root/users/wpcarro/nixos
AgeCommit message (Collapse)AuthorFilesLines
2022-01-08 r/3531 feat(wpcarro/diogenes): Nixify diogenes's Terraform configurationWilliam Carroll3-99/+146
TL;DR: - Define googleCloudVM function to provision NixOS VMs on Google Cloud. - Consume googleCloudVM in diogenes/default.nix - Define README.md for basic usage instructions (subject to change). - Delete diogenes's HCL - Remove `diogenesSystem` from meta.targets I'm still having trouble with DNS: - I need to transfer the Google Domains config to Cloud DNS - `host billandhiscomputer.com` is NXDOMAIN, so I don't trust my tf DNS config - This is preventing me from getting SSL certs, which blocks my website, quassel Change-Id: If315876c96298e83a5953f13b62784d2f65a1024 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4747 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-29 r/3497 feat(wpcarro/marcus): Support home-managerWilliam Carroll1-0/+29
For now: - git confg - picom: X compositor - dunst: system notifications (not working for quassel) I still need to port various configs and ensure I support both gLinux and NixOS machines. Change-Id: I31a635eaacac25ef6219e079fc968d2ece026a5f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4736 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-27 r/3476 feat(wpcarro/blog): Add a blog index pageWilliam Carroll1-6/+1
TL;DR: - Create an index page to list blog posts - Drop blog.wpcarro.dev -> wpcarro.dev/blog - Create fragments directory to host reusable static website components - Consume fragments in wpcarro.dev and wpcarro.dev/blog for brand consistency Change-Id: Ib8440300c008c3c0c5e5a6f207e4ea207dd41b47 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4717 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-27 r/3465 refactor(wpcarro/blog): Prefer depot.web.blogWilliam Carroll1-1/+1
Hugo is a bit too heavyweight for my taste. Change-Id: I331bc5898bd40f1a03bbde8ad69fe3cc9f72c18b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4704 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-27 r/3450 feat(wpcarro/diogenes): Disable firewall 🔥William Carroll1-5/+1
Rely on GCP's VPC configuration, which dedupes my configuration efforts. Change-Id: Iab0751b2a73a4f41a82b2968ba6aa9ff73bf6ccc Reviewed-on: https://cl.tvl.fyi/c/depot/+/4691 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-27 r/3449 feat(wpcarro/diogenes): Support moshWilliam Carroll1-1/+3
Let's see what mosh is all about... Change-Id: I0439130f55dc056370397c3e4ea8039f888703c3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4690 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-26 r/3414 feat(ops/auto-deploy): Support auto-deployWilliam Carroll1-0/+5
Automatically rebuild the current system's NixOS config from the latest checkout of depot. Change-Id: I23aa7af50e16e985ac34df214e0905e770316e5e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4390 Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: zseri <zseri.devel@ytrizja.de> Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-26 r/3413 fix(wpcarro/diogenes): Admit traffic to wpcarro.dev:6698William Carroll1-1/+5
It's difficult to know whether or not I need this. When I run the following commands... ``` wpcarro@diogenes> nmap localhost PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 443/tcp open https wpcarro@diogenes> nmap wpcarro.dev PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 443/tcp open https 3389/tcp closed ms-wbt-server ``` ...neither localhost nor wpcarro.dev reports 6698 being open even though 6698 is configured to be open in both: - diogenes/default.nix - GCP console Right now, quasselcore is WAI, so I don't want to invest more time into closing this loop. Change-Id: I3d68fd901314aa7d364abf9381dff101411e6d15 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4629 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3403 fix(wpcarro/quassel): Drop quassel.wpcarro.devWilliam Carroll1-7/+1
Reuse acme cert for wpcarro.dev Change-Id: I4768bbedf9dcf8d0e08fe02849357b311237cd61 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4613 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-25 r/3398 fix(wpcarro/marcus): Prefer tzupdate 🌎William Carroll1-3/+1
I couldn't get services.localtime to behave, but services.tzupdate WAIs. As long as I have internet, my timezone on this laptop should synchronize with my location. Change-Id: Ie2fd0e742e080fb7d6dd1adcc87c9fd22eae032d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4609 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3396 feat(wpcarro/marcus): Enable localtime serviceWilliam Carroll1-0/+2
Ensure my laptop's timezone is updated as I move around. Change-Id: Ifc2d1bbff2e59c0f7e0a3506152d720986ceab58 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4602 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3395 refactor(wpcarro/nixos): Define common.programs mixinWilliam Carroll2-17/+2
DRYing-up more configuration. Change-Id: I390cedd6a325ac17ef06c0887d3e0ac2b387b85b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4601 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3394 refactor(wpcarro/nixos): Define common.servicesWilliam Carroll2-18/+2
DRY things up with this mixin. Change-Id: I5791a50b01902734dff91d391e1aa90a21ce4fbb Reviewed-on: https://cl.tvl.fyi/c/depot/+/4600 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3393 feat(wpcarro/diogenes): Set EDITORWilliam Carroll1-0/+7
I should be doing most of my remote file editing using Emacs and Tramp, but sometimes a CLI command triggers the EDITOR, which is `nano` by default. I can control `vim` better than I can control `nano` within a vterm session, so I'm trying this configuration for now. Change-Id: I2023beadfe05a957bc5ddd6e6793a891521f301d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4599 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3382 chore(wpcarro/diogenes): Fix formattingWilliam Carroll1-2/+2
This is the result of `evil-indent` going wrong. Change-Id: I8d68bcb790da03b974d478760bf1224b38d56249 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4594 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-25 r/3381 fix(wpcarro/diogenes): programs.fish.enable = trueWilliam Carroll1-3/+6
Hopefully this installs the KBDs for fzf, which is already installed. Change-Id: Ice7555c45d38e2e07f9fb16d3ddfc5b971c93cf6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4593 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3380 refactor(wpcarro): Define common.shell-utilsWilliam Carroll2-36/+19
DRYing up some of my configuration. Change-Id: I137692789426efc6a6c6880029e605813674fdbe Reviewed-on: https://cl.tvl.fyi/c/depot/+/4592 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3379 feat(wpcarro/marcus): Require python3William Carroll1-0/+1
I use `python3` REPL as a calculator most often. Side note: I don't have a clear model of which binaries belong in NixOS configurations and which belong in my Emacs configuration. Here's a sketch of what I'm thinking: - shared (wpcarro's coreutils for fzf, ripgrep, git, etc) - marcus - diogenes - wpcarros-emacs (see footnote) Footnote: It might be redundant to install wpcarro's coreutils in Emacs on NixOS environments, but I install wpcarros-emacs in non-NixOS environments, so I depend on them there. Change-Id: Ib2b87c8e4e04d167ccbf837e0f85606cbf272828 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4591 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3360 feat(wpcarro/diogenes): Install digWilliam Carroll1-0/+1
I'm pretty often using dig server-side. Change-Id: I030b52875e13cac7ec7a5e7658db2e09ec5afba9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4582 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3359 feat(wpcarro/diogenes): Enable ssh-agentWilliam Carroll1-0/+6
Change-Id: I38fe1fcf4be2423acc29c43449cb778c8890df01 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4581 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3358 feat(wpcarro/irc): Support Quassel client/serverWilliam Carroll2-4/+27
- server: diogenes - client: marcus Change-Id: Ifc3a58370f6d68aec35ef363a40d03a8429f8012 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4579 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-24 r/3341 feat(wpcarro/marcus): Install treeWilliam Carroll1-0/+1
Change-Id: Iadbfec6be914c5b279317df1b039cb3a78ca22a6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4547 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-24 r/3340 refactor(wpcarro): Remove briefcase referencesWilliam Carroll1-7/+4
TL;DR: - prefer WPCARRO env-var to BRIEFCASE - remove repository URLs from Emacs libraries - prefer tvl-depot-path where possible - reduce the scope of constants.el - prune (some not all) stale CI configuration Change-Id: I21e9130402502ec6fa2fc4b46753c890069be62d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4545 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-23 r/3339 refactor(wpcarro/socrates): Delete socratesWilliam Carroll2-247/+0
A brief eulogy: Socrates was an Acer laptop that I bought at a used electronics shop in London for 100 quid. The laptop is no more... it is perished... it is deceased... it's not pining for the fjords! it is stone dead... Change-Id: Ia00e9e8fa05b9faa54c27fe86d880ad31402e2c6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4546 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-23 r/3338 feat(wpcarro/marcus): Configure ssh-agentWilliam Carroll1-0/+6
- start ssh-agent - automatically call `ssh-add` after prompting for a password Change-Id: Ie4319b18923a1439033ee1bae112889fce0930d6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4544 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-23 r/3337 feat(wpcarro/marcus): Disable touch-screenWilliam Carroll1-0/+7
I don't want this feature. Change-Id: Ibd647e99ee18ef25f43748ffc83cea1ba11c36ea Reviewed-on: https://cl.tvl.fyi/c/depot/+/4543 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-21 r/3333 fix(wpcarro/diogenes): Reset wheelNeedsPassword to falseWilliam Carroll1-1/+2
I unintentionally removed this when configuring the `security.acme` fields. Change-Id: Idfeed018065ab9a0bc84a074094f6e451f4e1bfb Reviewed-on: https://cl.tvl.fyi/c/depot/+/4521 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-20 r/3325 feat(wpcarro/diogenes): support wpcarro.devWilliam Carroll1-2/+58
TL;DR: - support wpcarro.dev - support blog.wpcarro.dev - journaldriver (need to figure out how to install key.json) Change-Id: I585008b6af74c58bbf831765e800323dabb2272c Reviewed-on: https://cl.tvl.fyi/c/depot/+/4389 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-20 r/3324 feat(wpcarro/marcus): Ensure EDITOR is set to EmacsWilliam Carroll1-0/+7
I should've done this awhile ago. I'm tired of having `nano` open in vterm instances. Change-Id: I784e4a7a3e8acba11105052b6c0fe1f6f9ac614b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4512 Reviewed-by: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2021-12-20 r/3322 fix(wpcarro/marcus): Add wpcarro to networkmanagerWilliam Carroll1-0/+1
This allows me to (e.g.) connect to wifi without being root. Change-Id: Iba2e8516aa7a9d24e52d7afa0de0c4f31e39be16 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4421 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-20 r/3321 feat(wpcarro/marcus): Install pavucontrolWilliam Carroll1-0/+1
On the fifth day, there was sound. Change-Id: Idf0d3f06afa45311c360663da42fb3ed355344bd Reviewed-on: https://cl.tvl.fyi/c/depot/+/4420 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-20 r/3320 feat(wpcarro/marcus): Set wheelNeedsPassword = falseWilliam Carroll1-0/+2
Removing some keystrokes from my life at the cost of security. Thoughts, comments, and concerns are welcome! Change-Id: I04d877021c4ce15a4d432a6a73e38e60878521aa Reviewed-on: https://cl.tvl.fyi/c/depot/+/4419 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-20 r/3319 feat(wpcarro/marcus): Install telegramWilliam Carroll1-0/+1
More messaging clients :wahoo: Change-Id: I005f6ba0514af60b58ee0a33357b5ad60660a49c Reviewed-on: https://cl.tvl.fyi/c/depot/+/4418 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-17 r/3288 fix(ops/diogenes): Ensure diogenes buildsWilliam Carroll2-4/+8
diogenes "passed" CI because the file was named configuration.nix (vestage from the NixOS default /etc/nixos/configuration). This CL fixes some issues I encountered after running depot/bin/rebuild-system. TL;DR: - rename configuration.nix -> default.nix to trigger CI - add diogenes to my systems - add public SSH key Change-Id: I24197b8936c201267db6f71f00099dce590eac1d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4388 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: tazjin <mail@tazj.in> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-16 r/3283 feat(wpcarro/marcus): Prefer light to xbacklightWilliam Carroll1-2/+8
TL;DR: - Enable light (let there be light!) - Refactor screen-brightness.el TIL: `nixos-options programs.enable.light` outputs docs from the command-line Change-Id: Ib60a9b3c9b7f6f96fda29fce1a97ca9995822048 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4385 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-16 r/3282 feat(wpcarro/marcus): Add some TVL goodiesWilliam Carroll1-17/+32
TL;DR: - enable TVL cache (ty @grfn) - enable automatic-gc (ty @tazjin) Change-Id: I2c7def718f10d90c6921461c6135f18358e33198 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4362 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-16 r/3281 feat(wpcarro/diogenes): Add diogenes to the depotWilliam Carroll1-0/+56
Incoming! Change-Id: I12f9202fea8eb834d40de43109871aef2085416e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4361 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-16 r/3279 refactor(wpcarro/nixos): Rename installer -> isoWilliam Carroll2-12/+17
Right now this is just a sketch for a larger idea of writing a binary called `create-installer` (see docs). Change-Id: Ib8e2acfd5d350ccc344329d87983c415f166d02b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4358 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-16 r/3275 feat(wpcarro/marcus): Install xsecurelockWilliam Carroll1-0/+1
TL;DR: - Install `xsecurelock` - Support screen-locking for personal (and corporate) devices Change-Id: Ife2ead109c60b69b817775d8d6524c6aece5f376 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4354 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-16 r/3274 feat(wpcarro/marcus): Disable natural scrollingWilliam Carroll1-1/+1
Something about the end-result of this doesn't feel quite natural to me. Change-Id: Idaa7a991893d386110bd75f9288b4c3831a59cae Reviewed-on: https://cl.tvl.fyi/c/depot/+/4353 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-16 r/3273 chore(wpcarro/marcus): Format hardware.nixWilliam Carroll2-22/+17
Make some of the auto-generated code look a bit more like human-generated code. Change-Id: I07f543b66275dc8be9db6d8106ef6045541574d3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4352 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
2021-12-16 r/3272 feat(wpcarro/marcus): Add marcus to the depotWilliam Carroll3-0/+130
me: marcus, meet depot. depot, meet marcus. Change-Id: Ic6a25ac85e4c7f6dfea2a42b46a4400f92df70a2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4351 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
2021-12-15 r/3249 fix(wpcarro/nix): Remove <briefcase> referencesWilliam Carroll1-10/+9
Angle-bracketed references are a Nix anti-pattern, and thankfully this repository enforces this as a standard. TL;DR: - Drop angle-bracketed references - Change `briefcase` -> `users.wpcarro` - Fix any resulting regressions - Fix //users/wpcarro/tools/simple_vim - Mark //users/wpcarro/boilerplate/typescript and related projects as broken - drop .skip-subtree file, enabling depot CI Change-Id: I7153cbabafa617bfd6b199370cbec65cb75441f6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4325 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: wpcarro <wpcarro@gmail.com>
2021-12-14 r/3226 subtree(users/wpcarro): docking briefcase at '24f5a642'Vincent Ambo3-0/+260
git-subtree-dir: users/wpcarro git-subtree-mainline: 464bbcb15c09813172c79820bcf526bb10cf4208 git-subtree-split: 24f5a642af3aa1627bbff977f0a101907a02c69f Change-Id: I6105b3762b79126b3488359c95978cadb3efa789