Totally new ai.nix, integrating MIstral with ZED

This commit is contained in:
2026-02-28 10:29:56 +01:00
parent 33618c1b07
commit 6dbfc8be6c
44 changed files with 2855 additions and 444 deletions
+21
View File
@@ -0,0 +1,21 @@
{ config, pkgs, lib, flakeRoot, ... }:
let
repoStarshipToml = flakeRoot + "/assets/conf/dev/terminal/starship.toml";
# The exact key that appears in the error:
targetKey = "${config.home.homeDirectory}/.config/starship.toml";
in
{
xdg.enable = true;
programs.starship = {
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
enableFishIntegration = true;
};
# Force the *actual conflicting option* (home.file."<abs path>".source)
home.file."${targetKey}".source = lib.mkForce repoStarshipToml;
}