nixosModules.heliwatch: fix self

This commit is contained in:
Astro 2021-11-09 01:06:53 +01:00
parent bbe57ffa66
commit a60a4b45ac
2 changed files with 2 additions and 1 deletions

View File

@ -56,6 +56,6 @@
nativeBuildInputs ++ buildInputs;
};
}) // {
nixosModules.heliwatch = import ./heliwatch/module.nix;
nixosModules.heliwatch = import ./heliwatch/module.nix { inherit self; };
};
}

View File

@ -1,3 +1,4 @@
{ self }:
{ config, lib, pkgs, ... }: {
options.services.heliwatch = with lib; {
enable = mkEnableOption "Enable Heliwatch MUC bot";