nixos-config/docs/website/content/en/02-lay-of-the-land/04-channels-support/index.adoc

20 lines
1.1 KiB
Plaintext
Raw Normal View History

---
title: Channels support
---
= Channels support
While this primarily uses flakes as its main form of distribution, this project does keep some use cases for traditional channels.
2023-07-20 09:45:47 +00:00
It's not guaranteed to be good as xref:../../05-using-parts-of-my-configuration/index.adoc#using-my-config-with-flakes[Using my config with flakes] but it's an option.
Anyhow, there is a section for using my configuration with channels as shown in xref:../../05-using-parts-of-my-configuration/index.adoc#using-my-config-with-channels[Using my config with channels].
The entry point is found at github:{github-repo}[`./default.nix`, path=./default.nix, rev=master].
2023-07-09 06:07:59 +00:00
.`default.nix`
[source, nix]
----
include::../../../../../default.nix[]
----
As you can tell, it is made with github:edolstra/flake-compat[opts=repo].
This is to support both use cases easily at the expense of making the traditional method a bit more tedious such as the Nix project being completely locked in with its dependencies (thus you can't configure it with your own nixpkgs version). footnote:[Then again, the way it used to be before flakes already has a host of problems. This is the least of them.]