diff --git a/404.html b/404.html index 0e70b47..604fa46 100644 --- a/404.html +++ b/404.html @@ -97,7 +97,7 @@ diff --git a/index.html b/index.html index c7497dd..7ab1d00 100644 --- a/index.html +++ b/index.html @@ -95,7 +95,7 @@ @@ -170,6 +170,10 @@ providing a sane repository structure, integrating several popular projects like home-manager, setting clear guidelines, offering useful conveniences, and eliminating boilerplate so you can focus on deploying your systems.

+

In addition, every package and NixOS profile is built and uploaded to a binary +cache, so everything provided is available without building anything. This is +especially useful for the packages that are pulled from master, as without the +cache, rebuilds are quite frequent.

Community Profiles

There are two branches from which to choose: core and community. The commuity branch builds on core and includes several ready-made profiles for diff --git a/introduction.html b/introduction.html index 9beabaf..514a7fe 100644 --- a/introduction.html +++ b/introduction.html @@ -95,7 +95,7 @@

@@ -170,6 +170,10 @@ providing a sane repository structure, integrating several popular projects like home-manager, setting clear guidelines, offering useful conveniences, and eliminating boilerplate so you can focus on deploying your systems.

+

In addition, every package and NixOS profile is built and uploaded to a binary +cache, so everything provided is available without building anything. This is +especially useful for the packages that are pulled from master, as without the +cache, rebuilds are quite frequent.

Community Profiles

There are two branches from which to choose: core and community. The commuity branch builds on core and includes several ready-made profiles for diff --git a/layout/cachix.html b/layout/cachix.html new file mode 100644 index 0000000..d843f55 --- /dev/null +++ b/layout/cachix.html @@ -0,0 +1,236 @@ + + + + + + Cachix - nixflk docs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ +
+ +
+ + + + + + + + + + + +
+
+

Cachix

+

The cachix directory simple captures the output of sudo cachix use for the +developers personal cache, as well as the nix-community cache. You can easily +add your own cache, assuming the template lives in /etc/nixos, by simply +running sudo cachix use yourcache.

+

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.

+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/hosts.html b/layout/hosts.html index 3a1c5fa..4f3c614 100644 --- a/layout/hosts.html +++ b/layout/hosts.html @@ -95,7 +95,7 @@ diff --git a/layout/layout.html b/layout/layout.html index f3c8f2d..781eaa9 100644 --- a/layout/layout.html +++ b/layout/layout.html @@ -95,7 +95,7 @@ diff --git a/layout/profiles.html b/layout/profiles.html index 2c4ec2b..92dae85 100644 --- a/layout/profiles.html +++ b/layout/profiles.html @@ -95,7 +95,7 @@ diff --git a/layout/suites.html b/layout/suites.html index 95b9811..d4d324e 100644 --- a/layout/suites.html +++ b/layout/suites.html @@ -95,7 +95,7 @@ diff --git a/layout/users.html b/layout/users.html index a560082..8eac616 100644 --- a/layout/users.html +++ b/layout/users.html @@ -95,7 +95,7 @@ @@ -217,6 +217,10 @@ nix build "github:nrdxp/nixflk#hmActivationPackages.NixOS.nixos" + +
@@ -231,6 +235,10 @@ nix build "github:nrdxp/nixflk#hmActivationPackages.NixOS.nixos" + + diff --git a/print.html b/print.html index 8be743b..e014cf2 100644 --- a/print.html +++ b/print.html @@ -97,7 +97,7 @@ @@ -172,6 +172,10 @@ providing a sane repository structure, integrating several popular projects like home-manager, setting clear guidelines, offering useful conveniences, and eliminating boilerplate so you can focus on deploying your systems.

+

In addition, every package and NixOS profile is built and uploaded to a binary +cache, so everything provided is available without building anything. This is +especially useful for the packages that are pulled from master, as without the +cache, rebuilds are quite frequent.

Community Profiles

There are two branches from which to choose: core and community. The commuity branch builds on core and includes several ready-made profiles for @@ -196,13 +200,16 @@ nix-shell git init git add . git commit -m init + +cachix use nrdxp

You can change core to community in the call to flk get

This will place you in a new folder named flk in the current directory with git set up, and a nix-shell that provides all the dependencies, including the -required nix version.

+required nix version. In addition, the cachix cache which contains all the +binary outputs from this flake is added for faster deployment.

Next Steps: