NixOS appreciation post

albert@lemmy.sysctl.io to nixos@lemmy.ml – 10 points –

So after being a long-time Fedora/RHEL/CentOS/Rocky/etc user, I finally decided to give NixOS a try after the recent RHEL news.

And BOY and I blown away. You can do so much more than I thought possible with automation on NixOS. It's incredible!

Since I"m so new, I do have a question for you all: What's your go-to resource for learning Nix/NixOS?

Thanks!

10

You are viewing a single comment

I think Flakes are quite useful and, although they might be somewhat challenging to wrap your head around, isn't really all too hard to actually set up once you have your configuration.nix and hardware-configuration.nix. Here's the video tutorial that got me started on my Flakes journey, and here's a really good set of dotfiles to use as an example for when you want to start modularising your configurations. So to answer your question, I think you should, yes.

Oh its been a week. I'm neck deep in flakes and don't want to go back :) NUR, Sops-nix, both stable and unstable packages (unstable gnome fixes an issue im having), lanzaboote for secure boot, home manager and my dotfiles enabled in my flakes.nix! Its been a wonderful learning process.

Oh, how's Lanzaboote? I've wanted to try it but I heard somewhere that it might not be suitable for a ZFS system.

No complaints. Easier setup than I initially thought! I don't use ZFS though. Just plain ol ext4 :)

Might give that a try later myself then. I'm planning on setting up impermanence later, so might as well risk doing this too! I think I just need to sign the ZFS kernel module to get secure boot working.