fix(darwin): put aichat config in right place for darwin

This commit is contained in:
Mohammad Rafiq 2025-07-14 19:09:16 +08:00
parent fba46e0d0d
commit f502810dae
No known key found for this signature in database

View file

@ -0,0 +1,21 @@
{ lib, ... }:
let
inherit (lib.modules) mkIf;
in
{
flake.modules.homeManager.rafiq =
{
pkgs,
config,
hostName,
hostConfig,
...
}:
mkIf (pkgs.system == "aarch64-darwin" || pkgs.system == "x86_64-darwin") {
home.file."Library/Application Support/aichat/config.yaml".text = ''
model: gemini:gemini-2.0-flash
clients:
- type: gemini
'';
};
}