15 lines
363 B
Nix
15 lines
363 B
Nix
{ pkgs, ... }:
|
|
{
|
|
home.sessionPath = [ "$HOME/.pixi/bin" ];
|
|
home.activation.pixi = {
|
|
after = [ "writeBoundary" ];
|
|
before = [ ];
|
|
data = ''
|
|
export PATH="${pkgs.curl}/bin:${pkgs.coreutils}/bin:$PATH"
|
|
if ! command -v pixi &> /dev/null; then
|
|
curl -fsSL https://pixi.sh/install.sh | PIXI_NO_PATH_UPDATE=1 bash
|
|
fi
|
|
'';
|
|
};
|
|
}
|