home: modularize user packages
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{ 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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user