2021-07-21 04:41:00 +03:00
|
|
|
# Channels API Container
|
|
|
|
Configure your channels that you can use throughout your configurations.
|
|
|
|
|
|
|
|
> #### ⚠ Gotcha ⚠
|
2021-08-03 04:56:08 +03:00
|
|
|
> Devshell & (non-host-specific) Home-Manager `pkgs` instances are rendered off the
|
2021-07-21 04:41:00 +03:00
|
|
|
> `nixos.hostDefaults.channelName` (default) channel.
|
|
|
|
|
|
|
|
|
|
|
|
## channels
|
|
|
|
nixpkgs channels to create
|
|
|
|
|
|
|
|
|
|
|
|
*_Type_*:
|
|
|
|
attribute set of submodules or path convertible to it
|
|
|
|
|
|
|
|
|
|
|
|
*_Default_*
|
|
|
|
```
|
|
|
|
{}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## channels.\<name\>.config
|
|
|
|
nixpkgs config for this channel
|
|
|
|
|
|
|
|
|
|
|
|
*_Type_*:
|
|
|
|
attribute set or path convertible to it
|
|
|
|
|
|
|
|
|
|
|
|
*_Default_*
|
|
|
|
```
|
|
|
|
{}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## channels.\<name\>.input
|
|
|
|
nixpkgs flake input to use for this channel
|
|
|
|
|
|
|
|
|
|
|
|
*_Type_*:
|
|
|
|
nix flake
|
|
|
|
|
|
|
|
|
|
|
|
*_Default_*
|
|
|
|
```
|
2022-01-14 08:56:27 +03:00
|
|
|
"self.inputs.<name>"
|
2021-07-21 04:41:00 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## channels.\<name\>.overlays
|
|
|
|
overlays to apply to this channel
|
|
|
|
these will get exported under the 'overlays' flake output
|
2022-04-24 19:49:40 +03:00
|
|
|
as \<channel\>/\<name\> and any overlay pulled from \<inputs\>
|
2021-07-21 04:41:00 +03:00
|
|
|
will be filtered out
|
|
|
|
|
|
|
|
|
|
|
|
*_Type_*:
|
|
|
|
list of valid Nixpkgs overlay or path convertible to its or anything convertible to it or path convertible to it
|
|
|
|
|
|
|
|
|
|
|
|
*_Default_*
|
|
|
|
```
|
|
|
|
[]
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-24 19:49:40 +03:00
|
|
|
## channels.\<name\>.patches
|
|
|
|
patches to apply to this channel
|
|
|
|
|
|
|
|
|
|
|
|
*_Type_*:
|
|
|
|
list of paths
|
|
|
|
|
|
|
|
|
|
|
|
*_Default_*
|
|
|
|
```
|
|
|
|
[]
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|