nixos-config

My NixOS configuration files

Commits at 267efef8a4b5e99ee9f608bed3a53c67e884605f

  1. 267efef8 Revert "Eh it's nice to have gcc on PATH" This reverts commit b1a7172067214a6de90f068d2edaf1792d94c297. Actually there's leanc already provided by elan. Anthony Wang authored at Anthony Wang comitted at
  2. 08c4b974 Update cgit Anthony Wang authored at Anthony Wang comitted at
  3. b1a71720 Eh it's nice to have gcc on PATH Anthony Wang authored at Anthony Wang comitted at
  4. 42cb23c8 Add command to cheatsheet for getting size of system Anthony Wang authored at Anthony Wang comitted at
  5. ad6905d3 Disable KDE Qt5 stuff to save some disk space Anthony Wang authored at Anthony Wang comitted at
  6. d8118237 Move ELAN_HOME here since it's laptop-specific, and if I clone my dotfiles elsewhere and use Lean I don't want Elan trying to write into /opt/elan Anthony Wang authored at Anthony Wang comitted at
  7. 537559f7 Switch to hunspell for KDE spell check because aspell broke in nixpkgs 8913c16 for some reason Anthony Wang authored at Anthony Wang comitted at
  8. 10fdf62d Use single run0 command for switch to generation Anthony Wang authored at Anthony Wang comitted at
  9. 9f9ebc48 Switch from deploy-rs to nixos-rebuild for remote deployment The main reasons for this are that deploy-rs is quite complex and annoying and unofficial, and I'd rather use SSH cryptography and root login using a dedicated key rather than using Nix signing keys. Also my signing key isn't encrypted so it feels like more of a security hazard. This reduces the number of lines in my config by quite a bit. The biggest downside is that now the deployment parameters aren't hardcoded in the flake but rather something I have to pass on the CLI, but it's included in the cheatsheet. I also reordered the cheatsheet into implicit sections. Anthony Wang authored at Anthony Wang comitted at
  10. 9d38891d Explain difference between this repo and dotfiles repo Anthony Wang authored at Anthony Wang comitted at
  11. 6a2bfb72 Note for nixpkgs VM and host mismatch Anthony Wang authored at Anthony Wang comitted at
  12. 68155013 Actually pipe operators are fun Anthony Wang authored at Anthony Wang comitted at
  13. 266a4456 Correctly disable atime on XVM Anthony Wang authored at Anthony Wang comitted at
  14. ac06f334 Random TODOs for XDG stuff Anthony Wang authored at Anthony Wang comitted at
  15. d5a10ce7 Enable GPU acceleration when running VM from config Anthony Wang authored at Anthony Wang comitted at
  16. 4926878b Delete old irrelevant comment Anthony Wang authored at Anthony Wang comitted at
  17. acbc5b38 Probably no perf difference with noatime for the ThinkPad so only use it on XVM Anthony Wang authored at Anthony Wang comitted at
  18. 87dacd07 Plasma already enables SDDM Wayland by default (slightly janky though) https://github.com/NixOS/nixpkgs/blob/e57b3b16ad8758fd681511a078f35c416a8cc939/nixos/modules/services/desktop-managers/plasma6.nix#L305 Anthony Wang authored at Anthony Wang comitted at
  19. 0595325e More probably-not-helpful comments but I'm gonna add them anyways Anthony Wang authored at Anthony Wang comitted at
  20. 8b255a93 Use systemd user service to run ssh-add A lot of things don't like adding the SSH keys to the agent on demand, such as Git or SFTP in Dolphin Anthony Wang authored at Anthony Wang comitted at
  21. 2f6da9be Add SSH key to agent on demand instead of via XDG autostart Anthony Wang authored at Anthony Wang comitted at
  22. 8fe06fa5 Convert all ThinkPad Bash scripts to Fish, other random cleanup The XVM md4c script still uses Bash for performance reasons (although maybe switching to Dash would be even more effective) Anthony Wang authored at Anthony Wang comitted at
  23. d48775c9 Don't install Hugo on XVM since I do builds locally now Anthony Wang authored at Anthony Wang comitted at
  24. 020623ae Add some XVM-related TODOs Anthony Wang authored at Anthony Wang comitted at
  25. 41e9ea79 Update Caddy Anthony Wang authored at Anthony Wang comitted at
  26. ed3fce1f Add more CLI tools to environment.systemPackages so I don't have to nix run all the time Anthony Wang authored at Anthony Wang comitted at
  27. 51fcb9bb Only use DNS challenge for wildcard cert, use Nix to separate vhosts instead of everything in a giant extraConfig blob Anthony Wang authored at Anthony Wang comitted at
  28. 89627ece Adding IPv4 routes doesn't reliably fix the problem Anthony Wang authored at Anthony Wang comitted at
  29. 7590ff5c Route a smaller subnet over Wi-Fi for KDE Connect For posterity, this is the help message that I posted on the SIPB Mattermost: I'm trying to use KDE Connect on my laptop in my room, which has a bit of a complicated setup since it's both connected to Ethernet and Wi-Fi. My laptop is only able to connect to my phone via Wi-Fi so I ran nmcli connection modify "MIT SECURE" +ipv4.routes "10.0.0.0/9" to route all connections to the devices on MIT Wi-Fi over Wi-Fi instead of Ethernet which it uses by default. This has been working fine for the past two years but it broke sometime this summer. Now, with that routing rule, even when my laptop is unplugged from Ethernet and only using Wi-Fi, KDE Connect still fails to reach my phone, even though I'm still successfully able to run an HTTP server on my phone and connect to it on my computer. Also, that routing rule should just be a no-op when my laptop is connected to only Wi-Fi. I tried downgrading KDE Connect using the magic of NixOS but the downgraded version just segfaults so I can't conclude much from that. Actually, the stranger thing is that KDE Connects works around 25% of the time, but it's inconsistent. I might just give up and use KDE Connect over Bluetooth instead of Wi-Fi. Anthony Wang authored at Anthony Wang comitted at
  30. ed51d267 Fix typo in comment Anthony Wang authored at Anthony Wang comitted at