feat: config with agents rework

This commit is contained in:
m3tm3re
2026-04-13 16:44:18 +02:00
parent ab3332e45b
commit 7bf686481c
6 changed files with 94 additions and 55 deletions

View File

@@ -1,10 +1,18 @@
{
config,
pkgs,
videoDrivers,
...
}: {
}: let
npmGlobalPrefix = "${config.home.homeDirectory}/.npm-global";
in {
home.file.".npmrc".text = ''
prefix=${npmGlobalPrefix}
'';
home.sessionVariables.NPM_CONFIG_PREFIX = npmGlobalPrefix;
imports = [
./opencode.nix
./pi.nix
];
programs.mcp = {
enable = true;