home-manager/gui: Add pi-coding-agent
CI / Check, build and cache nixfiles (push) Failing after 2m29s
CI / Check, build and cache nixfiles (push) Failing after 2m29s
This commit is contained in:
@@ -8,6 +8,8 @@ let
|
||||
inherit (lib.my) mkOpt' dummyOption;
|
||||
in
|
||||
{
|
||||
imports = [ inputs.pi-agent.homeModules.default ];
|
||||
|
||||
options = with lib.types; {
|
||||
my = {
|
||||
isStandalone = mkOption {
|
||||
@@ -27,6 +29,7 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = mkMerge [
|
||||
{
|
||||
my = {
|
||||
@@ -229,6 +232,7 @@ in
|
||||
inputs.deploy-rs.overlays.default
|
||||
inputs.boardie.overlays.default
|
||||
inputs.nixGL.overlays.default
|
||||
inputs.pi-agent.overlays.default
|
||||
];
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
|
||||
@@ -87,6 +87,17 @@ in
|
||||
|
||||
ffmpeg-full
|
||||
xournalpp
|
||||
|
||||
(pkgs.symlinkJoin {
|
||||
name = "pi-coding-agent";
|
||||
buildInputs = [ pkgs.makeWrapper ];
|
||||
paths = [ pkgs.pi-coding-agent-bun ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/pi \
|
||||
--set NPM_CONFIG_PREFIX ${config.home.homeDirectory}/.pi/npm/ \
|
||||
--prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.nodejs_latest ]}
|
||||
'';
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user