From fb1a53e73d356148c348602ff92f3b5cdd7a2205 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 17 Nov 2021 02:29:06 +0100 Subject: [PATCH] services: fava: workaround file not found bug --- services/fava.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/fava.nix b/services/fava.nix index 48ea530..de0d2d9 100644 --- a/services/fava.nix +++ b/services/fava.nix @@ -38,7 +38,7 @@ in wantedBy = [ "multi-user.target" ]; serviceConfig = { Environment = []; - ExecStart = "${pkgs.fava}/bin/fava -H 127.0.0.1 -p ${toString cfg.port} ${cfg.filePath}"; + ExecStart = "${pkgs.fava}/bin/fava -H 127.0.0.1 -p ${toString cfg.port} ${cfg.home}/${cfg.filePath}"; WorkingDirectory = cfg.home; User = "fava"; Group = "fava";