about summary refs log tree commit diff
path: root/ops/nixos/clbot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos/clbot.nix')
-rw-r--r--ops/nixos/clbot.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ops/nixos/clbot.nix b/ops/nixos/clbot.nix
index 0c45badd2b3e..ad33e25a4d54 100644
--- a/ops/nixos/clbot.nix
+++ b/ops/nixos/clbot.nix
@@ -1,5 +1,5 @@
 # Module that configures CLBot, our Gerrit->IRC info bridge.
-{ config, lib, pkgs, ... }:
+{ depot, config, lib, pkgs, ... }:
 
 let
   inherit (builtins) attrValues concatStringsSep mapAttrs readFile;
@@ -31,7 +31,7 @@ let
       description = "${description} to ${channel}";
       wantedBy = [ "multi-user.target" ];
 
-      script = "${config.depot.fun.clbot}/bin/clbot ${mkFlags (cfg.flags // {
+      script = "${depot.fun.clbot}/bin/clbot ${mkFlags (cfg.flags // {
         irc_channel = channel;
       })} -alsologtostderr";