Compare commits

..

No commits in common. "fb3fda66ebf008b2d793fbd5b4e6cdfac000eea5" and "fe22704b14055989f03beab7b1fb24c17d9e8a91" have entirely different histories.

3 changed files with 17 additions and 20 deletions

24
flake.lock generated
View File

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1712386041, "lastModified": 1710888565,
"narHash": "sha256-dA82pOMQNnCJMAsPG7AXG35VmCSMZsJHTFlTHizpKWQ=", "narHash": "sha256-s9Hi4RHhc6yut4EcYD50sZWRDKsugBJHSbON8KFwoTw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d6bb9f934f2870e5cbc5b94c79e9db22246141ff", "rev": "f33900124c23c4eca5831b9b5eb32ea5894375ce",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -24,22 +24,22 @@
"local-unstable": { "local-unstable": {
"locked": { "locked": {
"lastModified": 0, "lastModified": 0,
"narHash": "sha256-x6jZEGOgh8Pjf83bbB2rC5GAP3pNlFyFXeXjevqEmJc=", "narHash": "sha256-zw0FIry0jIH2RD4oPubgHZ2YZ03s7f5YZyvXT/wvTBA=",
"path": "/home/giulio/dev/abysssol-nixpkgs", "path": "/home/giulio/dev/nixpkgs",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "/home/giulio/dev/abysssol-nixpkgs", "path": "/home/giulio/dev/nixpkgs",
"type": "path" "type": "path"
} }
}, },
"nixos-unstable": { "nixos-unstable": {
"locked": { "locked": {
"lastModified": 1712841482, "lastModified": 1712057272,
"narHash": "sha256-KvP+22fw3QTumfHQEHUuH9aBEXM5YPnIWT6cJQ54ZfA=", "narHash": "sha256-Kj74jzJy3u9VYzCyn6dunAQ9N3+tqi1x8YBOWo/mrZ0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9f53efb9b525398a2ad9f09568bcea708dd79c97", "rev": "3c2fdd0a4e6396fc310a6e86faa24d1043a8486a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -51,11 +51,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1712840325, "lastModified": 1712055597,
"narHash": "sha256-81Q3wDtTPKWTqZXehhRk7k/bDNPC28UYmeXoY5wys4I=", "narHash": "sha256-fLoHZbpqKAciihzWP7gsfdDeTuNOMV248bVHS74jBIc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6c5ad2fa3a97cd0ee44ac921a0bc1b0a780ce1be", "rev": "f526f69b90f41afd865c3c778cd74b1331623c41",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -2,7 +2,7 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11"; nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
nixos-unstable.url = "github:NixOS/nixpkgs/master"; nixos-unstable.url = "github:NixOS/nixpkgs/master";
local-unstable.url = "path:///home/giulio/dev/abysssol-nixpkgs"; local-unstable.url = "path:///home/giulio/dev/nixpkgs";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-23.11"; url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View File

@ -25,9 +25,7 @@ let
api_base: https://ollama.giugl.io api_base: https://ollama.giugl.io
api_key: null api_key: null
models: models:
- name: pino-coder-fast - name: pino-fast
max_input_tokens: null
- name: pino-coder
max_input_tokens: null max_input_tokens: null
''; '';
aichatRoles = '' aichatRoles = ''
@ -87,12 +85,11 @@ in
center = ["file-name"] center = ["file-name"]
[keys.select.l] [keys.select.l]
c = ":pipe ${pkgs.unstablePkgs.aichat}/bin/aichat -m ollama:pino-coder-fast -c -r comment" c = ":pipe ${pkgs.unstablePkgs.aichat}/bin/aichat -c -r comment"
C = ":pipe ${pkgs.unstablePkgs.aichat}/bin/aichat -m ollama:pino-coder -c -r comment"
''; '';
".config/aichat/roles.yaml".text = aichatRoles; "${aichatConfigDir}/roles.yaml".text = aichatRoles;
".config/aichat/config.yaml".text = aichatConfig; "${aichatConfigDir}/config.yaml".text = aichatConfig;
}; };
}; };
} }