(Howdy) installing services from nixpkgs branches

I’m currently trying to install Howdy from GitHub - fufexan/nixpkgs at howdy and have found the issue, that the module is not a single .nix file. I couldn’t get any of the solutions I found to work. Help would be much appreciated.

{ config, pkgs, lib, ... }:

let
  howdyrepo = fetchTarball "https://api.github.com/repos/fufexan/nixpkgs/tarball/howdy";
in
{
  imports = [
    "${howdyrepo}/nixos/modules/services/security/howdy/default.nix"
  ];

  services = {
    #ir-toggle.enable = true;
    howdy = {
      enable = true;
      device = "/dev/video0";
    };
  };
}

throws a error: howdy cannot be found in pkgs error

1 Like

You’d have to override (or create, because the howdy package might only exist in the said fork) the howdy package as well, in addition to importing the module itself. This may be relevant: [Question] How to enable a service from a different channel · Issue #41212 · NixOS/nixpkgs · GitHub