2021-02-15 10:41:45 +03:00
|
|
|
[![Build](https://img.shields.io/github/checks-status/nrdxp/nixflk/core)](https://hercules-ci.com/github/nrdxp/nixflk/jobs)
|
|
|
|
[![MIT License](https://img.shields.io/github/license/nrdxp/nixflk)][mit]
|
|
|
|
[![NixOS 20.09](https://img.shields.io/badge/NixOS-v20.09-blue.svg?style=flat&logo=NixOS&logoColor=white)](https://nixos.org)
|
|
|
|
|
2019-12-03 08:18:30 +03:00
|
|
|
# Introduction
|
2021-02-15 03:41:15 +03:00
|
|
|
Nixflk is a template which grants a simple way to use, deploy and manage
|
|
|
|
[NixOS][nixos] systems for personal and productive use. It does this by
|
|
|
|
providing a sane repository structure, integrating several popular projects
|
|
|
|
like [home-manager][home-manager], setting clear guidelines, offering useful
|
|
|
|
conveniences, and eliminating boilerplate so you can focus on deploying your
|
|
|
|
systems.
|
|
|
|
|
|
|
|
## Getting Started
|
|
|
|
Check out the [guide](https://flk.nrdxp.dev/doc/start) to get up and running.
|
|
|
|
|
|
|
|
## Motivation
|
|
|
|
NixOS provides an amazing abstraction to manage our computers, but that new
|
|
|
|
power can sometimes bring feelings of overwhelm and confusion. Having a turing
|
|
|
|
complete programming language can add an unlimited potential for complexity if
|
|
|
|
we do it wrong. Instead, we should have a community consensus on how to manage
|
|
|
|
a NixOS system — consider this a first attempt.
|
|
|
|
|
|
|
|
___The future is declarative! 🎉___
|
|
|
|
|
|
|
|
## Community Profiles
|
|
|
|
There are two branches from which to choose: [core][core] and
|
|
|
|
[community][community]. The community branch builds on core and includes
|
|
|
|
several ready-made profiles for discretionary use.
|
|
|
|
|
|
|
|
Every package and NixOS profile declared in community is uploaded to
|
|
|
|
[cachix](./cachix), so everything provided is available without building
|
|
|
|
anything. This is especially useful for the packages that are
|
|
|
|
[overridden](./overrides) from master, as without the cache, rebuilds are
|
|
|
|
quite frequent.
|
|
|
|
|
|
|
|
> #### ⚠ Advisory ⚠
|
|
|
|
> Nixflk leverages the [flakes][flakes] feature available via an _experimental_
|
|
|
|
> branch of [nix][nix]. Until nix 3.0 is released, this project should be
|
|
|
|
> considered unstable.
|
2020-12-29 01:27:32 +03:00
|
|
|
|
2021-02-15 10:41:45 +03:00
|
|
|
## Inspiration & Art
|
|
|
|
- [hlissner/dotfiles][dotfiles]
|
|
|
|
- [nix-user-chroot](https://github.com/nix-community/nix-user-chroot)
|
|
|
|
- [Nickel](https://github.com/tweag/nickel)
|
|
|
|
- [Awesome Nix](https://github.com/nix-community/awesome-nix)
|
|
|
|
- [devshell](https://github.com/numtide/devshell)
|
|
|
|
|
2019-12-03 08:18:30 +03:00
|
|
|
# License
|
2021-02-15 10:41:45 +03:00
|
|
|
Nixflk is licensed under the [MIT License][mit].
|
2019-12-03 08:18:30 +03:00
|
|
|
|
2021-02-15 03:41:15 +03:00
|
|
|
[nix]: https://nixos.org/manual/nix/stable
|
2021-02-15 10:41:45 +03:00
|
|
|
[mit]: https://mit-license.org
|
2021-02-15 03:41:15 +03:00
|
|
|
[nixos]: https://nixos.org/manual/nixos/stable
|
|
|
|
[home-manager]: https://nix-community.github.io/home-manager
|
|
|
|
[flakes]: https://nixos.wiki/wiki/Flakes
|
|
|
|
[core]: https://github.com/nrdxp/nixflk
|
2021-02-04 05:16:27 +03:00
|
|
|
[community]: https://github.com/nrdxp/nixflk/tree/community
|
2021-02-15 10:41:45 +03:00
|
|
|
[dotfiles]: https://github.com/hlissner/dotfiles
|