Merge branch 'core' into teutat3s
This commit is contained in:
commit
3bf4783f0e
45
.drone.yml
45
.drone.yml
|
@ -4,17 +4,15 @@ type: docker
|
||||||
name: Upstreaming
|
name: Upstreaming
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Sync upstream to local"
|
- name: "Sync 'devos' branch with upstream"
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- cron
|
- cron
|
||||||
- promote
|
cron:
|
||||||
target:
|
- sync-core-with-upstream
|
||||||
- upstream
|
- sync-b12f-with-core
|
||||||
- daily
|
- sync-teutat3s-with-core
|
||||||
branch:
|
|
||||||
- core
|
|
||||||
environment:
|
environment:
|
||||||
GITEA_SSH_KEY:
|
GITEA_SSH_KEY:
|
||||||
from_secret: gitea_ssh_key
|
from_secret: gitea_ssh_key
|
||||||
|
@ -28,21 +26,20 @@ steps:
|
||||||
- git merge -X theirs devos/core
|
- git merge -X theirs devos/core
|
||||||
- git push origin devos
|
- git push origin devos
|
||||||
|
|
||||||
- name: "Sync branch with upstream"
|
- name: "Sync $BRANCH with upstream"
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
when:
|
when:
|
||||||
status:
|
|
||||||
- success
|
|
||||||
event:
|
event:
|
||||||
- cron
|
- cron
|
||||||
- promote
|
cron:
|
||||||
target:
|
- sync-core-with-upstream
|
||||||
- upstream
|
- sync-b12f-with-core
|
||||||
- daily
|
- sync-teutat3s-with-core
|
||||||
environment:
|
environment:
|
||||||
GITEA_SSH_KEY:
|
GITEA_SSH_KEY:
|
||||||
from_secret: gitea_ssh_key
|
from_secret: gitea_ssh_key
|
||||||
commands:
|
commands:
|
||||||
|
- git checkout origin/core
|
||||||
- ./.drone/setup_ssh.sh
|
- ./.drone/setup_ssh.sh
|
||||||
- git remote set-url origin git@git.b12f.io:pub-solar/os
|
- git remote set-url origin git@git.b12f.io:pub-solar/os
|
||||||
- ./.drone/upstream-branch.sh
|
- ./.drone/upstream-branch.sh
|
||||||
|
@ -54,12 +51,10 @@ steps:
|
||||||
- failure
|
- failure
|
||||||
event:
|
event:
|
||||||
- cron
|
- cron
|
||||||
- promote
|
cron:
|
||||||
target:
|
- sync-core-with-upstream
|
||||||
- upstream
|
- sync-b12f-with-core
|
||||||
- daily
|
- sync-teutat3s-with-core
|
||||||
branch:
|
|
||||||
- core
|
|
||||||
environment:
|
environment:
|
||||||
TEA_CONFIG:
|
TEA_CONFIG:
|
||||||
from_secret: tea_config
|
from_secret: tea_config
|
||||||
|
@ -76,10 +71,10 @@ steps:
|
||||||
- failure
|
- failure
|
||||||
event:
|
event:
|
||||||
- cron
|
- cron
|
||||||
- promote
|
cron:
|
||||||
target:
|
- sync-core-with-upstream
|
||||||
- upstream
|
- sync-b12f-with-core
|
||||||
- daily
|
- sync-teutat3s-with-core
|
||||||
settings:
|
settings:
|
||||||
homeserver: https://matrix.pub.solar
|
homeserver: https://matrix.pub.solar
|
||||||
roomid: dfQBqwkhIzrFjMSsxy:pub.solar
|
roomid: dfQBqwkhIzrFjMSsxy:pub.solar
|
||||||
|
@ -90,6 +85,6 @@ steps:
|
||||||
template: "Upstreaming {{ build.status }} [{{ build.branch }}#{{ truncate build.commit 8 }}]({{ build.link }}) by {{ build.author }}. [Pull requests](https://git.b12f.io/pub-solar/os/pulls)"
|
template: "Upstreaming {{ build.status }} [{{ build.branch }}#{{ truncate build.commit 8 }}]({{ build.link }}) by {{ build.author }}. [Pull requests](https://git.b12f.io/pub-solar/os/pulls)"
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 3f9da0999ca494c3ea7100b286cb3de67469a7e54077d3f6a4a0ad6fa2fa690b
|
hmac: f88330a68ced90f4c242aedcbec9359fa63f00c47db6707e2646546daa4a9109
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
61
README.md
61
README.md
|
@ -1,61 +1,35 @@
|
||||||
[![Bors enabled](https://bors.tech/images/badge_small.svg)](https://app.bors.tech/repositories/32678)
|
|
||||||
[![MIT License](https://img.shields.io/github/license/divnix/devos)][mit]
|
|
||||||
[![NixOS](https://img.shields.io/badge/NixOS-unstable-blue.svg?style=flat&logo=NixOS&logoColor=white)](https://nixos.org)
|
[![NixOS](https://img.shields.io/badge/NixOS-unstable-blue.svg?style=flat&logo=NixOS&logoColor=white)](https://nixos.org)
|
||||||
|
[![MIT License](https://img.shields.io/github/license/divnix/devos)][mit]
|
||||||
|
[![Chat](https://img.shields.io/matrix/devos:nixos.org.svg?label=%23devos%3Anixos.org&logo=matrix&server_fqdn=matrix.org)][matrix]
|
||||||
|
|
||||||
> #### ⚠ Advisory ⚠
|
> #### ⚠ Advisory ⚠
|
||||||
> DevOS requires the [flakes][flakes] feature available via an _experimental_
|
> DevOS requires the [flakes][flakes] feature available via an _experimental_
|
||||||
> branch of [nix][nix]. Until nix 3.0 is released, this project
|
> branch of [nix][nix]. Until nix 2.4 is released, this project
|
||||||
> should be considered unstable, though quite usable as flakes have been
|
> should be considered unstable.
|
||||||
> maturing _well_ [for a while](https://github.com/divnix/devos/tree/17713c22d07c54525c728c62060a0428b76dee3b).
|
|
||||||
|
|
||||||
# Introduction
|
### Why?
|
||||||
DevOS grants a simple template to use, deploy and manage [NixOS][nixos] systems
|
Make an awesome template for NixOS users, with consideration for common tools like [home-manager][home-manager],
|
||||||
for personal and productive use. A sane repository structure is provided,
|
|
||||||
integrating several popular projects like [home-manager][home-manager],
|
|
||||||
[devshell][devshell], and [more](./doc/integrations).
|
[devshell][devshell], and [more](./doc/integrations).
|
||||||
|
|
||||||
Striving for ___nix first™___ solutions with unobstrusive implementations,
|
### No. Why _flakes_?
|
||||||
a [flake centric][flake-doc] approach is taken for useful conveniences such as
|
Flakes are a part of an explicit push to improve [Nix's UI](https://github.com/NixOS/nix/blob/master/doc/manual/src/contributing/cli-guideline.md), and have become an intergral part of that effort.
|
||||||
[automatic source updates](./pkgs#automatic-source-updates).
|
|
||||||
|
|
||||||
Skip the indeterminate nature of other systems, _and_ the perceived
|
They also make [Nix expressions](https://nixos.org/manual/nix/unstable/expressions/expression-syntax.html) easier to distribute and reuse with convient [flake references](https://github.com/NixOS/nix/blob/master/src/nix/flake.md#flake-references) for building or using packages, modules, and whole systems.
|
||||||
tedium of bootstrapping Nix. It's easier than you think!
|
|
||||||
|
## Getting Started
|
||||||
|
Check out the [guide](https://devos.divnix.com/start) to get up and running.
|
||||||
|
Also, have a look at [_flake.nix_][toc]. If anything is not immediately
|
||||||
|
discoverable via "[`digga`][digga]'s [`mkFlake`][mk-flake],
|
||||||
|
please file a bug report.
|
||||||
|
|
||||||
### Status: Beta
|
### Status: Beta
|
||||||
Although this project has already matured quite a bit, especially through
|
Although this project has already matured quite a bit, especially through
|
||||||
recent outfactoring of [`digga`][digga], a fair amount of api polishing is still
|
recent outfactoring of [`digga`][digga], a fair amount of api polishing is still
|
||||||
expected. There are unstable versions (0._x_._x_) to help users keep track
|
expected. There are unstable versions (0._x_._x_) to help users keep track
|
||||||
of changes and progress.
|
of changes and progress, and a [`develop`](https://github.com/divnix/devos/tree/develop) branch for the brave 😜
|
||||||
|
|
||||||
## Getting Started
|
|
||||||
Check out the [guide](https://devos.divnix.com/start) to get up and running.
|
|
||||||
Also, have a look at [_flake.nix_][toc]. If anything is not immediately
|
|
||||||
discoverable from there through [`digga`][digga] library's [`mkFlake`][mk-flake],
|
|
||||||
please file a bug report.
|
|
||||||
|
|
||||||
## In the Wild
|
## In the Wild
|
||||||
The author maintains his own branch, so you can take inspiration, direction, or
|
* The original [authors][please]
|
||||||
make critical comments about the [code][please]. 😜
|
|
||||||
|
|
||||||
## 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! 🎉___
|
|
||||||
|
|
||||||
## 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](./integrations/cachix.md), so everything provided is available
|
|
||||||
without building anything. This is especially useful for the packages that are
|
|
||||||
[overridden](./concepts/overrides.md) from master, as without the cache,
|
|
||||||
rebuilds are quite frequent.
|
|
||||||
|
|
||||||
## Shoulders
|
## Shoulders
|
||||||
This work does not reinvent the wheel. It stands on the [shoulders of the
|
This work does not reinvent the wheel. It stands on the [shoulders of the
|
||||||
|
@ -113,3 +87,4 @@ DevOS is licensed under the [MIT License][mit].
|
||||||
[community]: https://github.com/divnix/devos/tree/community
|
[community]: https://github.com/divnix/devos/tree/community
|
||||||
[dotfiles]: https://github.com/hlissner/dotfiles
|
[dotfiles]: https://github.com/hlissner/dotfiles
|
||||||
[please]: https://github.com/nrdxp/devos/tree/nrd
|
[please]: https://github.com/nrdxp/devos/tree/nrd
|
||||||
|
[matrix]: https://matrix.to/#/#devos:nixos.org
|
||||||
|
|
Loading…
Reference in a new issue