NixOS daily driver
Find a file
bors[bot] c050027171
Merge #161
161: Multi-arch support for hosts(nixosConfigurations) r=nrdxp a=Pacman99

fixes #72 

also related, #125 

This allows users to set `nixpkgs.system` to any architecture exported by the nixpkgs flake and nixpkgs.pkgs will be set to that system.

I also added `multiPkgs` as a special arg and made `nixpkgs.pkgs` a default. So if someone wanted to do crossSystem builds or anything else with pkgs, that is also an option(eg. mobile-nixos!!).

Co-authored-by: Pacman99 <pachum99@gmail.com>
2021-03-19 19:33:31 +00:00
.github workflows#sync: sync after changelog generation 2021-03-01 22:57:23 -07:00
cachix cachix: fix link after name change 2021-02-17 22:39:43 -07:00
compat flake: manage flake-compate as input 2021-02-14 22:08:24 -07:00
doc doc: enact bootstrapping section 2021-03-16 19:24:47 -05:00
extern subflakes: make first class citizens 2021-03-14 21:27:58 -06:00
hosts hosts: set nixpkgs.pkgs based on nixpkgs.system 2021-03-19 12:23:23 -07:00
lib hosts: set nixpkgs.pkgs based on nixpkgs.system 2021-03-19 12:23:23 -07:00
modules project rename: nixflk -> devos 2021-02-17 18:31:33 -07:00
nix treewide cleanups and refactoring for initial tests (#157) 2021-03-14 07:10:51 +00:00
overlays subflakes: make first class citizens 2021-03-14 21:27:58 -06:00
overrides subflakes: make first class citizens 2021-03-14 21:27:58 -06:00
pkgs subflakes: make first class citizens 2021-03-14 21:27:58 -06:00
profiles core: really fix #162 2021-03-14 21:49:35 -06:00
secrets project rename: nixflk -> devos 2021-02-17 18:31:33 -07:00
shell lib/devos: bake devos repo into live cd (#168) 2021-03-16 19:50:38 +00:00
suites treewide cleanups and refactoring for initial tests (#157) 2021-03-14 07:10:51 +00:00
tests flake/tests: improve multi arch support for flake checks 2021-03-19 12:23:23 -07:00
theme doc: finish flk reference 2021-02-14 17:41:15 -07:00
users project rename: nixflk -> devos 2021-02-17 18:31:33 -07:00
.editorconfig editorconfig: fixup 2020-12-30 01:00:12 -07:00
.envrc treewide cleanups and refactoring for initial tests (#157) 2021-03-14 07:10:51 +00:00
.gitignore doc: new mdbook documentation 2021-02-14 02:46:05 -07:00
book.toml book.toml: no longer needed 2021-02-17 22:40:36 -07:00
bors.toml bors: no squash merge 2021-03-16 15:15:26 -06:00
cachix.nix format: apply nixpkgs-fmt 2020-07-30 22:17:28 -06:00
CHANGELOG.md Update Changelog for PR 2021-03-18 03:38:02 +00:00
COPYING init 2019-12-02 22:18:30 -07:00
default.nix treewide cleanups and refactoring for initial tests (#157) 2021-03-14 07:10:51 +00:00
flake.lock subflakes: make first class citizens 2021-03-14 21:27:58 -06:00
flake.nix flake/tests: improve multi arch support for flake checks 2021-03-19 12:23:23 -07:00
README.md treewide cleanups and refactoring for initial tests (#157) 2021-03-14 07:10:51 +00:00
shell.nix compat: fixes 2021-01-23 16:45:10 -07:00
SUMMARY.md doc: enact bootstrapping section 2021-03-16 19:24:47 -05:00

Bors enabled MIT License NixOS 20.09

⚠ Advisory ⚠

DevOS requires the flakes feature available via an experimental branch of nix. Until nix 3.0 is released, this project should be considered unstable, though quite usable as flakes have been maturing well for a while.

Introduction

DevOS grants a simple way to use, deploy and manage NixOS systems for personal and productive use. A sane repository structure is provided, integrating several popular projects like home-manager, devshell, and more.

Stiving for nix first™ solutions with unobstrusive implementations, a flake centric approach is taken for useful conveniences such as automatic source updates.

Skip the indeterminate nature of other systems, and the perceived tedium of bootstrapping Nix. It's easier than you think!

Status: Alpha

A lot of the implementation is less than perfect, and huge redesigns will happen. There are unstable versions (0.x.x) to help users keep track of changes and progress.

Getting Started

Check out the guide to get up and running.

In the Wild

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

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! 🎉

Upstream

I'd love to see this in the nix-community should anyone believe its reached a point of maturity to be generally useful, but I'm all for waiting until 1.0#121 to save the cache work, too.

Community Profiles

There are two branches from which to choose: core and 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, so everything provided is available without building anything. This is especially useful for the packages that are overridden from master, as without the cache, rebuilds are quite frequent.

Inspiration & Art

License

DevOS is licensed under the MIT License.