nixos-and-flakes-book
nix-config
nixos-and-flakes-book | nix-config | |
---|---|---|
9 | 8 | |
1,537 | 654 | |
- | - | |
9.6 | 9.7 | |
9 days ago | 6 days ago | |
Nix | Nix | |
Creative Commons Attribution Share Alike 4.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nixos-and-flakes-book
-
NixOS: Declarative Builds and Deployments
I'll be honest, the first few times I tried using Nix I just couldn't get into. It was too complex for the benefits I was getting. But that was using Nix on another OS.
I recently switched to NixOS because I wanted what they were selling and the experience this time around was way better. Having no other option but to figure it out made me learn the essentials real quick (like an exchange program to a foreign country that speaks another language).
If you think about it, when you used Ubuntu or Fedora or RHEL for the first time, and probably for a very long time, you could get by without learning the deep intricacies of what is going on behind the scenes. The same is true with NixOS. The things you need to learn are different, but once you get a basic setup with home-manager setup you're off to the races. (Btw, I used this "book" to get started and it was great: https://nixos-and-flakes.thiscute.world/)
The best part about using NixOS so far is that things just work. Setting up my graphics card was as simple setting enabled = true. Same for configuring specific audio frameworks. And I had tried many times to get Davinci Resolve working on other distros and always encountered issues leading me to need to dual-boot Windows so I could do video editing. Now I just enabled Davinci Resolve and it works! No more Windows.
If you're brand new to linux on the desktop, I wouldn't recommend it. But if you've been doing that for years, maybe try NixOS in 2024.
-
What is the current recommended documentation when starting out with NixOs?
i'm new to nixos too, i found this
-
Flakes Question (because I'm a noob)
I found this guide really beginner friendly: https://nixos-and-flakes.thiscute.world/
-
NixOS and Flakes Book: An unofficial book for beginners (free)
their GH releases page has a PDF, if that helps you, or browsing around the .md files may help what I presume is your noscript browser, assuming that GH works with noscript anymore: https://github.com/ryan4yin/nixos-and-flakes-book/releases/d...
- NixOS and Flakes Book
-
NixOS Wiki – the unofficial user wiki
It would be useful if the wiki articles showed a 'last modified at' date. Articles like this [0] dominate search results, but it's not clear how outdated the info is. I
In case anyone is looking for an up-to-date NixOS guide/cookbook, I've found lots of value in this [1] resource.
[0] - https://nixos.wiki/wiki/PulseAudio
[1] - https://nixos-and-flakes.thiscute.world/
- GitHub - ryan4yin/nixos-and-flakes-book: An unofficial NixOS & Flakes book for Beginners.
- Updates: NixOS & Nix Flakes - A Guide for Beginners
nix-config
-
What is the current recommended documentation when starting out with NixOs?
All the resources mentioned in other comments are pretty good, but mostly they are unofficial. The official NixOS wiki is very outdated and unmaintained. You will have better luck reading other people’s configurations, nixpkgs source code and GitHub issues. For the nix language the official wiki is a nice reference https://nixos.org/manual/nix/stable/language/index.html. This configuration is a great starting point https://github.com/Misterio77/nix-config for learning by example. It covers most of what you may need, although bootstrapping your own config is quite rough. You may want to take a look at https://github.com/Misterio77/nix-starter-configs. It’s very basic and should be simple to understand and improve.
-
My First Impressions of Nix
Yes. E.g. some guy's config with 6 different machines[1]: multiple desktops, laptops, servers, a Raspberry Pi, and a VPS. That's a rather advanced use of Nix for configuration, but definitely shows what it's capable of.
[1] https://github.com/Misterio77/nix-config
-
Tool for commiting and tagging when rebuilding
https://github.com/Misterio77/nix-config/blob/main/hosts/celaeno/services/hydra/lib/release-host-branch.nix https://github.com/Misterio77/nix-config/blob/main/hosts/celaeno/services/hydra/default.nix#L39
-
introducing packwiz2nix: one of the best tools for creating minecraft modpacks, now compatible with nix!
Implementation: https://github.com/Misterio77/nix-config/blob/main/pkgs/fetch-packwiz-pack/default.nix
-
Looking for examples of a fully declarative system
the one i reference all the time is https://github.com/Misterio77/nix-config
-
Building a highly optimized home environment with Nix
I believe Misterio77's does use it in his config.
-
Impermanence, wipe root on boot, possible?
I reuse the same btrfs logic on all my computers, including a RPi: https://github.com/Misterio77/nix-config/blob/main/hosts/common/btrfs-optin-persistence.nix
- Who's here runs NixOS with opt in state?
What are some alternatives?
nix-config - ❄️ my nix config for both desktops(NixOS+macOS) and homelab servers(NixOS).
impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
wiki - Nixos wiki [maintainer=@samueldr]
rasp-nix - My Raspberry Pi(4) NixOS Configuration
rfcs - The Nix community RFCs
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
vitepress - Vite & Vue powered static site generator.
infra - NixOS configurations for nixos.org and its servers
distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
infra
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!