1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

kbfs: fix systemd service PATH

This commit is contained in:
Tad Fisher 2018-04-17 13:02:52 -07:00 committed by Robert Helgesson
parent 8ff7d934b2
commit 581ad6fc29
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -48,7 +48,7 @@ in
let
mountPoint = "\"%h/${cfg.mountPoint}\"";
in {
Environment = "PATH=/run/wrappers KEYBASE_SYSTEMD=1";
Environment = "PATH=/run/wrappers/bin KEYBASE_SYSTEMD=1";
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p ${mountPoint}";
ExecStart ="${pkgs.kbfs}/bin/kbfsfuse ${toString cfg.extraFlags} ${mountPoint}";
ExecStopPost = "/run/wrappers/bin/fusermount -u ${mountPoint}";