Compare commits

..

No commits in common. "9f4e6c6a65b3aefcb4f197d529d19093e21706cb" and "46833d374e3ab7db2dbf213cd689c311c6c1c79c" have entirely different histories.

5 changed files with 1 additions and 34 deletions

3
.gitmodules vendored
View file

@ -14,6 +14,3 @@
path = user/modules/bash/bash
url = https://github.com/itme-brain/bash.git
branch = master
[submodule "user/modules/pi/agent"]
path = user/modules/pi/agent
url = git@github.com:itme-brain/pi.git

View file

@ -81,8 +81,6 @@
writing.enable = true;
};
pi.enable = true;
gui = {
wm.hyprland.enable = true;
browser.firefox.enable = true;

@ -1 +0,0 @@
Subproject commit 4f129c83b945e8847df798f83a29e554570c6142

View file

@ -1,28 +0,0 @@
{ pkgs, lib, config, ... }:
with lib;
let
cfg = config.modules.user.pi;
npmGlobal = "${config.home.homeDirectory}/.npm-global";
in
{ options.modules.user.pi = { enable = mkEnableOption "user.pi"; };
config = mkIf cfg.enable {
home.packages = with pkgs; [ nodejs_20 ];
home.sessionVariables = {
LLAMACPP_BASE_URL = "https://ai.ramos.codes/v1";
NPM_CONFIG_PREFIX = npmGlobal;
};
home.sessionPath = [ "${npmGlobal}/bin" ];
home.file.".pi/agent" = {
source = ./agent;
recursive = true;
};
programs.bash.initExtra = ''
export LLAMACPP_API_KEY=$(cat /run/secrets/LLAMA_API_KEY)
'';
};
}

View file

@ -9,6 +9,7 @@ in
home.packages = with pkgs; [
unstable.claude-code
unstable.codex
unstable.opencode
bubblewrap