NixOS - Adding a module to NixOS/Nixpkgs (OpenRGB)
Channel: Jon Ringer
Date: 01/01/2022

Show how to create a NixOS module meant to be added to NixOS/Nixpkgs repository. The module creates a systemd service, adds kernel modules, adds a udev rule file, and adds openrgb to system path.

PR: https://github.com/NixOS/nixpkgs/pull/152791

0:00 - Intro to OpenRGB
3:35 - Intro to NixOS modules
9:07 - OpenRGB Module
  10:56 - Udev rules in NixOS Modules
  12:20 - Systemd service
15:30 - Adding a module to module-list.nix
17:00 - Testing the module locally
24:20 - Adding conditional kernel modules
33:38 - Creating NixOS/Nixpkgs Pull Request
35:45 - Conclusion