···11-[](https://app.bors.tech/repositories/32678)
22-[][mit]
33-[](https://nixos.org)
44-55-> #### ⚠ Advisory ⚠
66-> DevOS requires the [flakes][flakes] feature available via an _experimental_
77-> branch of [nix][nix]. Until nix 3.0 is released, this project
88-> should be considered unstable, though quite usable as flakes have been
99-> maturing _well_ [for a while](https://github.com/divnix/devos/tree/17713c22d07c54525c728c62060a0428b76dee3b).
1010-1111-# Introduction
1212-DevOS grants a simple template to use, deploy and manage [NixOS][nixos] systems
1313-for personal and productive use. A sane repository structure is provided,
1414-integrating several popular projects like [home-manager][home-manager],
1515-[devshell][devshell], and [more](./doc/integrations).
1616-1717-Striving for ___nix first™___ solutions with unobstrusive implementations,
1818-a [flake centric][flake-doc] approach is taken for useful conveniences such as
1919-[automatic source updates](./pkgs#automatic-source-updates).
2020-2121-Skip the indeterminate nature of other systems, _and_ the perceived
2222-tedium of bootstrapping Nix. It's easier than you think!
2323-2424-### Status: Beta
2525-Although this project has already matured quite a bit, especially through
2626-recent outfactoring of [`digga`][digga], a fair amount of api polishing is still
2727-expected. There are unstable versions (0._x_._x_) to help users keep track
2828-of changes and progress.
2929-3030-## Getting Started
3131-Check out the [guide](https://devos.divnix.com/start) to get up and running.
3232-Also, have a look at [_flake.nix_][toc]. If anything is not immediately
3333-discoverable from there through [`digga`][digga] library's [`mkFlake`][mk-flake],
3434-please file a bug report.
3535-3636-## In the Wild
3737-The author maintains his own branch, so you can take inspiration, direction, or
3838-make critical comments about the [code][please]. 😜
3939-4040-## Motivation
4141-NixOS provides an amazing abstraction to manage our environment, but that new
4242-power can sometimes bring feelings of overwhelm and confusion. Having a turing
4343-complete system can easily lead to unlimited complexity if we do it wrong.
4444-Instead, we should have a community consensus on how to manage a NixOS system
4545-and its satellite projects, from which best practices can evolve.
4646-4747-___The future is declarative! 🎉___
4848-4949-## Community Profiles
5050-There are two branches from which to choose: [core][core] and
5151-[community][community]. The community branch builds on core and includes
5252-several ready-made profiles for discretionary use.
5353-5454-Every package and NixOS profile declared in community is uploaded to
5555-[cachix](./integrations/cachix.md), so everything provided is available
5656-without building anything. This is especially useful for the packages that are
5757-[overridden](./concepts/overrides.md) from master, as without the cache,
5858-rebuilds are quite frequent.
5959-6060-## Shoulders
6161-This work does not reinvent the wheel. It stands on the [shoulders of the
6262-following giants][giants]:
6363-6464-### :onion: — like the layers of an onion
6565-- [`divnix/digga`][digga]
6666-- [`gytis-ivaskevicius/flake-utils-plus`][fup]
6767-- [`numtide/flake-utils`][fu]
6868-6969-### :family: — like family
7070-- [`numtide/devshell`][devshell]
7171-- [`serokell/deploy-rs`][deploy]
7272-- [`NixOS/nixpkgs`][nixpkgs]
7373-7474-:heart:
7575-7676-## Inspiration & Art
7777-- [hlissner/dotfiles][dotfiles]
7878-- [nix-user-chroot](https://github.com/nix-community/nix-user-chroot)
7979-- [Nickel](https://github.com/tweag/nickel)
8080-- [Awesome Nix](https://github.com/nix-community/awesome-nix)
8181-- [devshell](https://github.com/numtide/devshell)
8282-8383-## Divnix
8484-The divnix org is an open space that spontaniously formed out of "the Nix".
8585-It is really just a place where otherwise unrelated people a) get
8686-together and b) stuff done.
8787-8888-It's a place to stop "geeking out in isolation" (or within company boundaries),
8989-experiment and learn together and iterate quickly on best practices. That's what it is.
9090-9191-It might eventually become a non-profit if that's not too complicated or if those
9292-goals are sufficiently upstreamed into "the Nix", dissolved.
9393-9494-# License
9595-DevOS is licensed under the [MIT License][mit].
9696-9797-[mk-flake]: https://github.com/divnix/digga/tree/master/src/mkFlake
9898-[nixpkgs]: https://github.com/NixOS/nixpkgs
9999-[deploy]: https://github.com/serokell/deploy-rs
100100-[toc]: https://github.com/divnix/devos/blob/core/flake.nix
101101-[giants]: https://en.wikipedia.org/wiki/Standing_on_the_shoulders_of_giants
102102-[digga]: https://github.com/divnix/digga
103103-[fup]: https://github.com/gytis-ivaskevicius/flake-utils-plus
104104-[fu]: https://github.com/numtide/flake-utils
105105-[devshell]: https://github.com/numtide/devshell
106106-[nix]: https://nixos.org/manual/nix/stable
107107-[mit]: https://mit-license.org
108108-[nixos]: https://nixos.org/manual/nixos/stable
109109-[home-manager]: https://nix-community.github.io/home-manager
110110-[flakes]: https://nixos.wiki/wiki/Flakes
111111-[flake-doc]: https://github.com/NixOS/nix/blob/master/src/nix/flake.md
112112-[core]: https://github.com/divnix/devos
113113-[community]: https://github.com/divnix/devos/tree/community
114114-[dotfiles]: https://github.com/hlissner/dotfiles
115115-[please]: https://github.com/nrdxp/devos/tree/nrd
11+Based on <https://github.com/nrdxp/nixflk>, with my own configs. Changes directory structure a bit.