mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-04-22 20:58:45 +08:00
Merge pull request #891 from ananthb/fix/darwin-launchagent-path
Some checks are pending
Test / tests (push) Waiting to run
Some checks are pending
Test / tests (push) Waiting to run
fix(home-manager): ensure system paths in LaunchAgent PATH on Darwin
This commit is contained in:
commit
f990b0a334
1 changed files with 6 additions and 1 deletions
|
|
@ -365,7 +365,12 @@ in
|
|||
))
|
||||
];
|
||||
|
||||
PATH = lib.makeBinPath cfg.age.plugins;
|
||||
PATH =
|
||||
let
|
||||
pluginPaths = lib.makeBinPath cfg.age.plugins;
|
||||
systemPaths = lib.optionalString pkgs.stdenv.isDarwin "/usr/bin:/bin:/usr/sbin:/sbin";
|
||||
in
|
||||
lib.concatStringsSep ":" (lib.filter (p: p != "") [ pluginPaths systemPaths ]);
|
||||
|
||||
QUBES_GPG_DOMAIN = lib.mkIf cfg.gnupg.qubes-split-gpg.enable (
|
||||
lib.mkDefault cfg.gnupg.qubes-split-gpg.domain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue