-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #235 from divnix/release-0.9.0
Prepare 0.9.0 release
- Loading branch information
Showing
47 changed files
with
188 additions
and
165 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ result | |
up | ||
hosts/up-* | ||
.direnv | ||
book | ||
doc/index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,31 @@ | ||
let | ||
inherit (default.inputs.nixos) lib; | ||
|
||
default = (import ./compat).defaultNix; | ||
default = (import "${./lib}/compat").defaultNix; | ||
|
||
ciSystems = [ | ||
"aarch64-linux" | ||
"i686-linux" | ||
"x86_64-linux" | ||
]; | ||
|
||
filterSystems = lib.filterAttrs | ||
(system: _: lib.elem system ciSystems); | ||
|
||
recurseIntoAttrsRecursive = lib.mapAttrs (_: v: | ||
if lib.isAttrs v | ||
then recurseIntoAttrsRecursive (lib.recurseIntoAttrs v) | ||
else v | ||
); | ||
|
||
systemOutputs = lib.filterAttrs | ||
(name: set: lib.isAttrs set | ||
&& lib.any | ||
(system: set ? ${system} && name != "legacyPackages") | ||
ciSystems | ||
) | ||
default.outputs; | ||
|
||
ciDrvs = lib.mapAttrs (_: system: filterSystems system) systemOutputs; | ||
in | ||
builtins.mapAttrs (_: v: lib.recurseIntoAttrs v) default.packages // { | ||
shell = import ./shell.nix; | ||
} | ||
(recurseIntoAttrsRecursive ciDrvs) // { shell = import ./shell.nix; } |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Summary | ||
|
||
- [Introduction](../README.md) | ||
- [Quick Start](./start/index.md) | ||
- [ISO](./start/iso.md) | ||
- [Bootstrapping](./start/bootstrapping.md) | ||
- [From NixOS](./start/from-nixos.md) | ||
- [Key Concepts](./concepts/index.md) | ||
- [Extern](./concepts/extern.md) | ||
- [Hosts](./concepts/hosts.md) | ||
- [Overrides](./concepts/overrides.md) | ||
- [Profiles](./concepts/profiles.md) | ||
- [Suites](./concepts/suites.md) | ||
- [Users](./concepts/users.md) | ||
- [Outputs](./outputs/index.md) | ||
- [Modules](./outputs/modules.md) | ||
- [Overlays](./outputs/overlays.md) | ||
- [Packages](./outputs/pkgs.md) | ||
- [Concerns]() | ||
- [Lib](./lib.md) | ||
- [Secrets](./secrets.md) | ||
- [Tests](./tests.md) | ||
- [Helper Script – `flk`](./flk/index.md) | ||
- [up](./flk/up.md) | ||
- [update](./flk/update.md) | ||
- [get](./flk/get.md) | ||
- [iso](./flk/iso.md) | ||
- [install](./flk/install.md) | ||
- [home](./flk/home.md) | ||
- [Integrations](./integrations/index.md) | ||
- [Cachix](./integrations/cachix.md) | ||
- [Deploy RS](./integrations/deploy.md) | ||
- [Hercules CI](./integrations/hercules.md) | ||
- [Contributing](./CONTRIBUTING.md) |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Key Concepts | ||
|
||
There are few idioms unique to DevOS. This section is dedicated to helping you | ||
understand them. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Cachix | ||
The system will automatically pull a cachix.nix at the root if one exists. | ||
This is usually created automatically by a `sudo cachix use`. If your more | ||
inclined to keep the root clean, you can drop any generated files in the | ||
`cachix` directory into the `profiles/cachix` directory without further | ||
modification. | ||
|
||
For example, to add your own cache, assuming the template lives in /etc/nixos, | ||
by simply running `sudo cachix use yourcache`. Then, optionally, move | ||
`cachix/yourcache.nix` to `profiles/cachix/yourcache.nix` | ||
|
||
These caches are only added to the system after a `nixos-rebuild switch`, so it | ||
is recommended to call `cachix use nrdxp` before the initial deployment, as it | ||
will save a lot of build time. | ||
|
||
In the future, users will be able to skip this step once the ability to define | ||
the nix.conf within the flake is fully fleshed out upstream. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Layout | ||
Each of the following sections is a directory whose contents are output to the | ||
outside world via the flake's outputs. Check each chapter for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.