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

  • zonsopkomst@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    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 .#!

    • ck_
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

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

      • 2xsaiko
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        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 .)

        • ck_
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

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