From 6d1961cbbd2592f180342b54d4ee5c627ecf4eab Mon Sep 17 00:00:00 2001 From: Sam Willcocks Date: Wed, 15 May 2024 14:03:01 +0100 Subject: [PATCH] Add including the module to usage --- readme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/readme.md b/readme.md index 9bb6857..0b4d1ee 100644 --- a/readme.md +++ b/readme.md @@ -7,6 +7,19 @@ gstreamer plugin. This allows you to use Aja video IO cards on NixOS. ## Usage - 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: ```nix ntv2.enable = true;