Add including the module to usage
This commit is contained in:
parent
8230174631
commit
6d1961cbbd
13
readme.md
13
readme.md
|
@ -7,6 +7,19 @@ gstreamer plugin. This allows you to use Aja video IO cards on NixOS.
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
- Add the flake to your system flake's inputs.
|
- Add the flake to your system flake's inputs.
|
||||||
|
- Include the nixos module in your config:
|
||||||
|
```nix
|
||||||
|
...
|
||||||
|
nixosConfigurations = {
|
||||||
|
mymachine = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
# ... your other modules ...
|
||||||
|
ajantv2.nixosModules.default
|
||||||
|
];
|
||||||
|
};
|
||||||
|
...
|
||||||
|
```
|
||||||
- Enable the module by adding the following to your system config:
|
- Enable the module by adding the following to your system config:
|
||||||
```nix
|
```nix
|
||||||
ntv2.enable = true;
|
ntv2.enable = true;
|
||||||
|
|
Loading…
Reference in New Issue