about summary refs log tree commit diff
path: root/ops/nixos/smtprelay.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos/smtprelay.nix')
-rw-r--r--ops/nixos/smtprelay.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ops/nixos/smtprelay.nix b/ops/nixos/smtprelay.nix
index 044902b15a9a..d8e03b5794b0 100644
--- a/ops/nixos/smtprelay.nix
+++ b/ops/nixos/smtprelay.nix
@@ -1,5 +1,5 @@
 # NixOS module for configuring the simple SMTP relay.
-{ pkgs, config, lib, ... }:
+{ depot, pkgs, config, lib, ... }:
 
 let
   inherit (builtins) attrValues mapAttrs;
@@ -40,7 +40,7 @@ in {
   config = mkIf cfg.enable {
     systemd.services.smtprelay = {
       inherit description;
-      script = "${config.depot.third_party.smtprelay}/bin/smtprelay ${prepareArgs cfg.args}";
+      script = "${depot.third_party.smtprelay}/bin/smtprelay ${prepareArgs cfg.args}";
       wantedBy = [ "multi-user.target" ];
 
       serviceConfig = {