os/README.md

4.3 KiB

NixOS MIT License [Chat][matrix]

⚠ Advisory ⚠

DevOS requires the flakes feature available via an experimental branch of nix. Until nix 2.4 is released, this project should be considered unstable.

Why?

Make an awesome template for NixOS users, with consideration for common tools like home-manager, devshell, and more.

No. Why flakes?

Flakes are a part of an explicit push to improve Nix's UI, and have become an intergral part of that effort.

They also make Nix expressions easier to distribute and reuse with convient flake references for building or using packages, modules, and whole systems.

Getting Started

Check out the guide to get up and running. Also, have a look at flake.nix. If anything is not immediately discoverable via "digga's mkFlake, please file a bug report.

Motivation

NixOS provides an amazing abstraction to manage our environment, but that new power can sometimes bring feelings of overwhelm and confusion. Having a turing complete system can easily lead to unlimited complexity if we do it wrong. Instead, we should have a community consensus on how to manage a NixOS system and its satellite projects, from which best practices can evolve.

The future is declarative! 🎉

Examples in the Wild

The author maintains his own branch, so you can take inspiration, direction, or make critical comments about the code. 😜

Shoulders

This work does not reinvent the wheel. It stands on the shoulders of the following giants:

🧅 — like the layers of an onion

👪 — like family

❤️

Inspiration & Art

Divnix

The divnix org is an open space that spontaniously formed out of "the Nix". It is really just a place where otherwise unrelated people a) get together and b) stuff done.

It's a place to stop "geeking out in isolation" (or within company boundaries), experiment and learn together and iterate quickly on best practices. That's what it is.

It might eventually become a non-profit if that's not too complicated or if those goals are sufficiently upstreamed into "the Nix", dissolved.

License

DevOS is licensed under the MIT License.