Add including the module to usage

This commit is contained in:
Sam W 2024-05-15 14:03:01 +01:00
parent 8230174631
commit 6d1961cbbd
1 changed files with 13 additions and 0 deletions

View File

@ -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;