From acaa2515da43853f91f8bfa893c9462dd72ac0aa Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 31 Jan 2022 19:27:46 +0100 Subject: ... --- accounts/gkleen@sif/systemd.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/accounts/gkleen@sif/systemd.nix b/accounts/gkleen@sif/systemd.nix index 1afd03e4..a5b53b0c 100644 --- a/accounts/gkleen@sif/systemd.nix +++ b/accounts/gkleen@sif/systemd.nix @@ -44,7 +44,6 @@ let in { services = { sync-keepass = { - path = map toString (with pkgs; [ rclone ]); Service = { Type = "oneshot"; WorkingDirectory = "~"; @@ -58,7 +57,7 @@ in { res = json.load(proc.stdout) print(res) ''); - Environment = "RCLONE_PASSWORD_COMMAND=\"cat ${config.sops.secrets.gkleen-rclone.path}\""; + Environment = [ "RCLONE_PASSWORD_COMMAND=\"cat ${config.sops.secrets.gkleen-rclone.path}\"" "PATH=${pkgs.rclone}/bin" ]; }; }; emacs = { -- cgit v1.2.3