add docker to path

This commit is contained in:
Sridhar Ratnakumar 2023-04-07 15:27:31 -04:00
parent 035a337eb1
commit 5521eb2e64

View file

@ -13,8 +13,9 @@
];
programs.nushell = {
enable = true;
# TODO: Refactor using lists; or even upstream PATH setting to home-manager
envFile.text = ''
let-env PATH = ($env.PATH | split row (char esep) | prepend $"/etc/profiles/per-user/($env.USER)/bin" | prepend '/run/current-system/sw/bin/')
let-env PATH = ( $env.PATH | split row (char esep) | prepend $"/etc/profiles/per-user/($env.USER)/bin" | prepend '/run/current-system/sw/bin/' | prepend '/Applications/Docker.app/Contents/Resources/bin/')
'';
};
};