try fix on darwin

This commit is contained in:
ChaotiCryptidz 2022-03-09 20:15:29 +00:00
parent 8df7742e05
commit 93a1114515
No known key found for this signature in database

View file

@ -29,7 +29,10 @@ in {
};
envExtra = ''
export VAULT_ADDR="https://vault.owo.monster"
'';
'' ++ (if pkgs.stdenv.isDarwin then ''
export PATH=/run/current-system/sw/bin:$PATH
'' else
"");
};
programs.direnv = {
enable = true;