added aider-chat for testing
This commit is contained in:
parent
12fb56f35b
commit
dd1f20d08d
4 changed files with 74 additions and 16 deletions
52
.aider.conf.yml
Normal file
52
.aider.conf.yml
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
# AiderChat configuration file
|
||||||
|
|
||||||
|
# General settings
|
||||||
|
project_name: Home Lab
|
||||||
|
language: guile
|
||||||
|
description: >
|
||||||
|
This is the configuration for AiderChat, tailored for managing and orchestrating
|
||||||
|
the Home Lab project. The project uses Guile for scripting and NixOS for system
|
||||||
|
configuration.
|
||||||
|
|
||||||
|
# File inclusion/exclusion
|
||||||
|
include:
|
||||||
|
- "**/*.scm" # Include all Guile Scheme files
|
||||||
|
- "**/*.nix" # Include all NixOS configuration files
|
||||||
|
- "**/*.yml" # Include YAML configuration files
|
||||||
|
- "**/*.md" # Include Markdown documentation files
|
||||||
|
exclude:
|
||||||
|
- "**/node_modules/**" # Exclude Node.js dependencies
|
||||||
|
- "**/.git/**" # Exclude Git metadata
|
||||||
|
- "**/tmp/**" # Exclude temporary files
|
||||||
|
|
||||||
|
# Chat settings
|
||||||
|
chat:
|
||||||
|
model: ollama
|
||||||
|
endpoint: http://grey-area:11434 # Ollama service running on grey-area
|
||||||
|
temperature: 0.7
|
||||||
|
max_tokens: 2048
|
||||||
|
system_prompt: >
|
||||||
|
You are an assistant helping with the Home Lab project. Focus on Guile scripting,
|
||||||
|
NixOS configuration, and infrastructure orchestration.
|
||||||
|
|
||||||
|
# Workflow settings
|
||||||
|
workflow:
|
||||||
|
auto_save: true
|
||||||
|
auto_commit: false
|
||||||
|
branch_name: aiderchat-updates
|
||||||
|
commit_message_template: >
|
||||||
|
[AiderChat] {description}
|
||||||
|
|
||||||
|
# Logging
|
||||||
|
logging:
|
||||||
|
level: info
|
||||||
|
file: aiderchat.log
|
||||||
|
|
||||||
|
# Extensions
|
||||||
|
extensions:
|
||||||
|
- name: nixos-helper
|
||||||
|
description: >
|
||||||
|
Provides additional support for NixOS configuration and orchestration tasks.
|
||||||
|
- name: guile-helper
|
||||||
|
description: >
|
||||||
|
Adds syntax highlighting and linting for Guile Scheme files.
|
12
flake.lock
generated
12
flake.lock
generated
|
@ -54,11 +54,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750134718,
|
"lastModified": 1750365781,
|
||||||
"narHash": "sha256-v263g4GbxXv87hMXMCpjkIxd/viIF7p3JpJrwgKdNiI=",
|
"narHash": "sha256-XE/lFNhz5lsriMm/yjXkvSZz5DfvKJLUjsS6pP8EC50=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9e83b64f727c88a7711a2c463a7b16eedb69a84c",
|
"rev": "08f22084e6085d19bcfb4be30d1ca76ecb96fe54",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -70,11 +70,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750133334,
|
"lastModified": 1750400657,
|
||||||
"narHash": "sha256-urV51uWH7fVnhIvsZIELIYalMYsyr2FCalvlRTzqWRw=",
|
"narHash": "sha256-3vkjFnxCOP6vm5Pm13wC/Zy6/VYgei/I/2DWgW4RFeA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "36ab78dab7da2e4e27911007033713bab534187b",
|
"rev": "b2485d56967598da068b5a6946dadda8bfcbcd37",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
6
modules/ai/aider-chat.nix
Normal file
6
modules/ai/aider-chat.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# TODO install the latest version of Aider Chat
|
||||||
|
{pkgs, ...}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
aider-chat-full
|
||||||
|
];
|
||||||
|
}
|
|
@ -10,23 +10,23 @@
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./media-group.nix
|
./media-group.nix
|
||||||
|
../ai/aider-chat.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.geir = {
|
users.users.geir = {
|
||||||
description = "Geir Okkenhaug Jerstad - Primary User";
|
description = "Geir Okkenhaug Jerstad - Primary User";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
||||||
# User groups for development and desktop use
|
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel" # sudo access
|
"wheel"
|
||||||
"networkmanager" # network management
|
"networkmanager"
|
||||||
"libvirt" # virtualization
|
"libvirt"
|
||||||
"incus-admin" # container management
|
"incus-admin"
|
||||||
"podman" # container runtime
|
"podman"
|
||||||
"audio" # audio devices
|
"audio"
|
||||||
"video" # video devices
|
"video"
|
||||||
"render" # GPU access
|
"render"
|
||||||
"media" # shared media access for NFS shares
|
"media"
|
||||||
];
|
];
|
||||||
|
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue