Skip to content

Commit

Permalink
fix module
Browse files Browse the repository at this point in the history
  • Loading branch information
Brawl345 committed Sep 7, 2024
1 parent ee2aed8 commit 7315972
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions module.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
{ config, lib, ... }:

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

let
cfg = config.services.gobot;
defaultUser = "gobot";

inherit (lib) optionalAttrs;
inherit (lib) mkEnableOption mkMerge mkPackageOption mkOption mkIf types optionalAttrs;
in
{
options.services.gobot = {
enable = mkEnableOption "Gobot Telegram bot";

package = mkPackageOption self.packages "gobot" { };
package = mkPackageOption pkgs "gobot" { };

user = mkOption {
type = types.str;
Expand Down

0 comments on commit 7315972

Please sign in to comment.