▲ 106 ▼ Good Nix OS series: five articles for new users. (feddit.it) submitted 2 years ago by savbran@feddit.it to c/linux@lemmy.ml 46 comments fedilink hide all child comments I found these interesting Nix OS articles series for users that want to try it and learn first things, have a good reading! NixOS Series #1: Why Should You Consider Using NixOS? NixOS Series #2: How to Install NixOS on a Virtual Machine? NixOS Series #3: Install and Remove Packages in NixOS NixOS Series #4: Things To Do After Installing NixOS NixOS Series #5: How to set up home-manager on NixOS? #nixos #linux #tutorial #guide
[–] CrabAndBroom@lemmy.ml 3 points 2 years ago (1 child) I've read so many things that try to explain what flakes are, and for the life of me I still don't understand what they are or what they're for lol. permalink fedilink source parent hideshow 2 child comments replies: [–] Laser@feddit.de 1 point 2 years ago They're not that different from the classic nix files. Their main difference is that their inputs are always well-defined (as opposed to a channels registry, i.e. you can get totally different systems by reapplying a configuration when you change channels which doesn't change your nix file at all). A configuration is always exactly described by a flake.nix and flake.lock. I mean there is more to it, but this is the primary motivation. What you would normally put into use case specific nix files goes into a flake's output section. The stuff in your input sections is what you can use in there. permalink fedilink source parent
[–] Laser@feddit.de 1 point 2 years ago They're not that different from the classic nix files. Their main difference is that their inputs are always well-defined (as opposed to a channels registry, i.e. you can get totally different systems by reapplying a configuration when you change channels which doesn't change your nix file at all). A configuration is always exactly described by a flake.nix and flake.lock. I mean there is more to it, but this is the primary motivation. What you would normally put into use case specific nix files goes into a flake's output section. The stuff in your input sections is what you can use in there. permalink fedilink source parent