Initial work on establishing consistent AGENTS context

This commit is contained in:
Eli Ribble 2026-05-08 19:58:33 +00:00
parent 083e3e79b7
commit bd9b9109d2
No known key found for this signature in database
5 changed files with 37 additions and 1 deletions

View file

@ -3,5 +3,7 @@
./base.nix
./fish.nix
./git.nix
./nixvim.nix
./pi.nix
];
}

22
modules/home/pi.nix Normal file
View file

@ -0,0 +1,22 @@
{ config, configFiles, lib, pkgs, ... }:
with lib;
{
options.myModules.home.pi = {
enable = mkEnableOption "custom pi agent configuration";
};
config = mkIf config.myModules.home.pi.enable (
let
# Use user-specific config if it exists
configPath = (configFiles + "/users/${config.myModules.home.user}/pi");
in {
# Use the correct Home Manager option
home.file.".pi" = {
source = configPath;
recursive = true;
};
}
);
}