home-manager/gui: Add pi-coding-agent
CI / Check, build and cache nixfiles (push) Failing after 2m29s

This commit is contained in:
2026-07-26 18:55:20 +01:00
parent 8c4223af18
commit 9b582bec7b
5 changed files with 148 additions and 4 deletions
+4
View File
@@ -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;
+11
View File
@@ -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 ]}
'';
})
];
};