Cyberpunk | Programmer | Ruby on Rails veteran | Nix user | Sysop | Mr. Fusion maintainer for the MiSTer project

  • 0 Posts
  • 23 Comments
Joined 1 year ago
cake
Cake day: June 26th, 2023

help-circle



  • Interesting. I’ve using NixOS many years on servers but recently also started using it as a base for docker hosts. Before that I used Ubuntu or Debian for docker hosts, but I figured out I still like the declarative approach even for simple servers like docker hosts. There’s your basic security config, ssh keys and monitoring setup that I used to do imperatively, but I much rather have declaratively now, no matter how small. And enabling docker on NixOS is just a virtualisation.docker.enable = true; anyway.
















  • I use a deque to fill a queue from the right, items get consumed from the left. Sometimes feedback from an external control mechanism will request an item be added to the queue with high priority. This item is then added to the left of the queue and will get consumed next, before all the others already in the queue. For me this was a good use case for a deque and it works well.