mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
himalaya: make use of lib.getExe
This commit is contained in:
parent
dac1fee0ce
commit
d761492011
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ let
|
|||
sendmailConfig =
|
||||
lib.optionalAttrs (isNull account.smtp && !isNull account.msmtp) {
|
||||
sender = "sendmail";
|
||||
sendmail.cmd = "${pkgs.msmtp}/bin/msmtp";
|
||||
sendmail.cmd = lib.getExe pkgs.msmtp;
|
||||
};
|
||||
|
||||
config = lib.attrsets.mergeAttrsList [
|
||||
|
@ -173,7 +173,7 @@ in {
|
|||
Install = { WantedBy = [ "default.target" ]; };
|
||||
Service = {
|
||||
ExecStart =
|
||||
"${himalaya.package}/bin/himalaya envelopes watch --account %I";
|
||||
"${lib.getExe himalaya.package} envelopes watch --account %I";
|
||||
ExecSearchPath = "/bin";
|
||||
Environment =
|
||||
lib.mapAttrsToList (key: val: "${key}=${val}") environment;
|
||||
|
|
Loading…
Reference in a new issue