diff --git a/nix/module.nix b/nix/module.nix index 7966a1e..6c0c7ed 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -8,7 +8,7 @@ inherit (lib.modules) mkIf; inherit (lib.options) mkOption mkEnableOption; inherit (pkgs.stdenv.hostPlatform) system; - cfg = config.services.forcebot_rs; + cfg = config.services.botoh; in { options.services.botoh = { enable = mkEnableOption '' @@ -22,7 +22,7 @@ in { }; config = mkIf cfg.enable { - systemd.services.forcebot_rs = { + systemd.services.botoh = { wantedBy = ["multi-user.target"]; serviceConfig.ExecStart = "${cfg.package}/bin/botoh"; };