diff --git a/module.nix b/module.nix index ad15f98..cf73daf 100644 --- a/module.nix +++ b/module.nix @@ -1,4 +1,4 @@ -{ config, lib, self, ... }: +{ config, lib, pkgs, ... }: let cfg = config.services.gobot; @@ -9,7 +9,7 @@ in options.services.gobot = { enable = mkEnableOption "Gobot Telegram bot"; - package = mkPackageOption self.packages "gobot" { }; + package = mkPackageOption pkgs "gobot" { }; user = mkOption { type = types.str;