about summary refs log tree commit diff
path: root/modules/services/atticd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/atticd.nix')
-rw-r--r--modules/services/atticd.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/services/atticd.nix b/modules/services/atticd.nix
index ef79871..fe11074 100644
--- a/modules/services/atticd.nix
+++ b/modules/services/atticd.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ config, inputs, lib, pkgs, ... }:
 
 with lib;
 let
@@ -24,7 +24,7 @@ in
     (mkIf cfg.enable {
       services.atticd = {
         enable = true;
-        credentialsFile = cfg.secrets.attic-credentials;
+        environmentFile = cfg.secrets.attic-credentials;
 
         settings = {
           listen = "[::]:4005";
@@ -104,7 +104,7 @@ in
           # NOTE: currently this expects `attic/config.toml` to be manually
           # generated and placed on `/var/lib/atticd-watch-store`
           Environment = "XDG_CONFIG_HOME=/var/lib/atticd-watch-store";
-          ExecStart = "${pkgs.attic}/bin/attic watch-store hydra";
+          ExecStart = "${pkgs.attic-client}/bin/attic watch-store hydra";
           Restart = "on-failure";
           RestartSec = "5s";
           ProtectKernelLogs = true;