by alexghr · 4y ago · 0 comments
I keep my config on Github (latest branch https://github.com/alexghr/nix/tree/host/vader). I'm still new to this so a lot of my config is duplicated across different hosts but I want to refactor it to eliminate duplication.
If you haven't yet, I'd recommend giving Nix/NixOS a try. There's a bit of a learning curve but it's very powerful.
Coming up on my 1 year anniversary with NixOS and couldn't be happier, even though it has taken quite some time to adjust to (and I still barely know the language).
Having one place for all configurations is such a breath of fresh air, and having my work & home PC being identical (even Gnome is declaraticely configured!) is so nice.
Before NixOS, I resented using my private PC because it was never up to date with what I had configured on my work PC, but now that's just a "git pull && nixos-revuild switch --flake ." away - regardless of what has changed.
I will never, ever, use anything that doesn't behave like NixOS again. It is a sea-change.
Is the language weird? Oh yes. Is the documentation scattered? Quite. It's all worth it.
If the love of your live spoke a different native language, you'd learn it.
Stick to defaults? Hell no. Own your computing life.
If you're trying to do something with Nix and it works, neat.
If you're trying to do something and can't get it to work, you'll have a very difficult time. (It demands a depth of understanding, and Nix is a bit weird).
Hopefully in future, "documentation", "blogposts from randoms", etc. help alleviate that pain as more people use it.