Compare commits

..

4 commits

Author SHA1 Message Date
42c9fbc6e1 fix(neovim): support mason tools on nixos 2026-04-30 11:01:06 -04:00
a184bd35ee remove opencode 2026-04-27 17:26:00 -04:00
9aa7b21828 bump pi config submodule 2026-04-27 17:22:08 -04:00
1ca2e5a512 add pi coding agent module
Manages `~/.pi/agent` config via the itme-brain/pi submodule and
provides nodejs_20 with NPM_CONFIG_PREFIX=~/.npm-global so pi and its
extensions install via the global npm ecosystem.

Pi itself and extensions like pi-mcp-adapter are installed manually
via `npm install -g` rather than packaged through nix — the ecosystem
moves too fast to keep derivations current.
2026-04-27 16:55:26 -04:00
5 changed files with 43 additions and 1 deletions

View file

@ -11,6 +11,7 @@
../../keys ../../keys
../../modules/sops ../../modules/sops
../../modules/docker ../../modules/docker
../../modules/nix-ld
./hardware.nix ./hardware.nix
./system.nix ./system.nix
]; ];

View file

@ -10,6 +10,7 @@
../../../user ../../../user
../../keys ../../keys
../../modules/sops ../../modules/sops
../../modules/nix-ld
./hardware.nix ./hardware.nix
./system.nix ./system.nix
]; ];

View file

@ -10,6 +10,7 @@
../../../user ../../../user
../../keys ../../keys
../../modules/sops ../../modules/sops
../../modules/nix-ld
./system.nix ./system.nix
]; ];
} }

View file

@ -0,0 +1,39 @@
{ pkgs, lib, config, ... }:
with lib;
let
cfg = config.modules.system.nix-ld;
in
{
options.modules.system.nix-ld = {
enable = mkOption {
type = types.bool;
default = any
(user: user.modules.user.neovim.enable or false)
(attrValues config.home-manager.users);
description = "Enable nix-ld so Mason-installed Neovim tools can run on NixOS.";
};
};
config = mkIf cfg.enable {
programs.nix-ld = {
enable = true;
libraries = with pkgs; [
curl
expat
fontconfig
freetype
glib
icu
libgcc
libGL
libxkbcommon
openssl
stdenv.cc.cc
zlib
zstd
];
};
};
}

@ -1 +1 @@
Subproject commit da6106c77470b336783951ff2bce795688e9663d Subproject commit f11e6a02db5cd8e4c8c1bdec0d34557ff995c32c