mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-04 19:46:20 +01:00
dsh rewrites a profile's cordis.patch.yml at runtime, so linking the web profile put GUI state in the checkout and let runtime writes clobber manual edits. Link the stable policy as the $DSH_HOME home layer instead: dsh applies it after every profile and only reads it. The host-plane compaction-basic row is disabled on the web surface and each agent preset owns its own copy, so the top-level override was inert. Drop it; the model contextWindow/maxTokens are the effective knobs. - add home/base/tui/agents/dsh/cordis.patch.yml, linked from default.nix - drop the ~/.dsh/profiles/web link and the tracked web/ profile - keep runtime state and private/local model routes in the profile patch - update the eval test and README
16 lines
500 B
Nix
16 lines
500 B
Nix
# Evaluate the dsh module on its own: reading `home.file` from a real host would
|
|
# force the catppuccin theme derivations, turning an eval test into a build.
|
|
let
|
|
module = import ../../../../home/base/tui/agents/dsh/default.nix;
|
|
evaluated = module {
|
|
config = {
|
|
home.homeDirectory = "/home/tester";
|
|
lib.file.mkOutOfStoreSymlink = path: path;
|
|
};
|
|
};
|
|
in
|
|
{
|
|
keys = builtins.attrNames evaluated.home.file;
|
|
source = toString evaluated.home.file.".dsh/cordis.patch.yml".source;
|
|
}
|