refactor: desktop legacy module

This commit is contained in:
Nickolaj Jepsen 2025-12-12 04:02:55 +01:00
parent 5f56c011ab
commit d463f4d1af
31 changed files with 630 additions and 577 deletions

View file

@ -1,25 +0,0 @@
{
pkgsUnstable,
username,
config,
...
}: {
age.secrets.llm-api-key = {
rekeyFile = ../../secrets/llm-api-key.env.age;
mode = "0600";
owner = username;
};
environment.systemPackages = with pkgsUnstable; [
aider-chat
];
fireproof.home-manager = {
home.file.".aider.conf.yml".text = ''
# Aider configuration file
# This file is used to configure the Aider chat client
# It is a YAML file
sonnet: true
env-file: ${config.age.secrets.llm-api-key.path}
'';
};
}