The case for Nix on the home server
HTML-код
- Опубликовано: 6 ноя 2024
- Talk by Samir Rashid, Anthony Tarbinian
www.socallinux...
Why is Nix a good choice for a home server? Learn how Nix enables maintenance free, secure, and reproducible home servers. The talk will cover why Nix is a powerful choice compared to other technologies like Docker or Ansible. It will also showcase how Nix makes it easy to get up and running with server applications such as Nginx, Wireguard, Jellyfin, Samba, and more.
As a nix noob, I did this about 8 months ago, I've still not learnt flakes yet, but my current setup works well and it's been stable. I recently updated to 24.05 too.
I'm gearing up towards deploying a home server using Nix and NixOS. I have RUclipsd and duckduckgoed my way to a quite flexible flake and home-manager setup for the procrastination machine which also allows for any other type machine to live next to it. It's an absolute blessing even for a simple desktop configuration.
I am currently trying to come up with an ansible script with a distro agnostic package manager (I've chosen brew) to quickly setup any new system with my fav tools. This talk was very helpful. I'll think about using Nix once I'm done. Thank you.
This was so inspiring! The github repo at the end is the best resource I have seen for Nix.
I don’t know anything about nix, but this was an informative watch!
I use nix at home. It's not without its downsides but it generally has been a lot better. A big advantage is just the ability to come back after weeks and remember exactly the system configuration state
What do you mean remember configuration state?
listening to this from my nixos home computer, while deploying nixos on my 3 servers at home :P
Incredible video
7:00 this is a more general argument that using your distribution's repos is better than downloading and running bash scripts. Of course, this is true, but it's not specific to nix or nixos (aside from the fact that nixos has a jellyfin package while debian doesn't).
Good talk overall. Thanks.
Can you make certain parts in nix configuration hostname specific?
If I have two systems, one has nvidia and the other amd graphics card, how can I do a conditional check in the config of what to install for that particular hostname? I also want to do the same thing for my servers. So that one config is not only for all applications, but also all my systems.
If anyone knows please let me know.
As Fry would say "shut up and take my money!"