Tried NixOS !

So I tried nixos and I love how things work, I am glad that it exists. Will learn about Flakes today. Any recommended resource to learn it? :)

@nixos@lemmy.ml

5 points

Congrats! It took me three months to get everything running the way I wanted. Now I run a bunch of machines off of a single flake, managing family and friend’s machines too. Next is moving my server over to nixos. Read through the wiki and site, get on the nixos discord or matrix site, ask questions, use the discourse, and when you feel confident nixos-rebuild switch --flake .#!

permalink
report
reply
1 point

The --flake .# is redundant, just FYI ;)

permalink
report
parent
reply
4 points

There’s a difference. Without it, it loads the flake from /etc/nixos/flake.nix instead of the current directory. (What is redundant is the #, you can just write --flake .)

permalink
report
parent
reply
1 point

Yeah, true, valid point. Guess I never thoughg about rebuilding from anywhere not /etc/nixos

permalink
report
parent
reply
2 points

The nix wiki, packages an options pages are all I need most of the time.

permalink
report
reply
1 point

Documentation isn’t stellar IMHO: I end up reading the nixpkgs sources most often than not (it probably depends on what you are doing, though)

permalink
report
parent
reply
0 points

@zwerdlds @canute How about nixos-option, lib.mkoption ?

permalink
report
parent
reply
0 points

@canute @nixos Lookup for
nix for impatient
https://fasterthanli.me/series/building-a-rust-service-with-nix
ryantm s posts and repo

permalink
report
reply

nixos

!nixos@lemmy.ml

Create post

All about NixOS - https://nixos.org/

Community stats

  • 24

    Monthly active users

  • 109

    Posts

  • 282

    Comments

Community moderators