services: fava: workaround file not found bug

This commit is contained in:
Antoine Martin 2021-11-17 02:29:06 +01:00
parent f558b4b680
commit fb1a53e73d

View file

@ -38,7 +38,7 @@ in
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
Environment = []; 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; WorkingDirectory = cfg.home;
User = "fava"; User = "fava";
Group = "fava"; Group = "fava";