Compare commits
3 Commits
fe22704b14
...
fb3fda66eb
Author | SHA1 | Date | |
---|---|---|---|
|
fb3fda66eb | ||
|
1d5a05271c | ||
|
8eafc911fe |
24
flake.lock
generated
24
flake.lock
generated
@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710888565,
|
"lastModified": 1712386041,
|
||||||
"narHash": "sha256-s9Hi4RHhc6yut4EcYD50sZWRDKsugBJHSbON8KFwoTw=",
|
"narHash": "sha256-dA82pOMQNnCJMAsPG7AXG35VmCSMZsJHTFlTHizpKWQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "f33900124c23c4eca5831b9b5eb32ea5894375ce",
|
"rev": "d6bb9f934f2870e5cbc5b94c79e9db22246141ff",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -24,22 +24,22 @@
|
|||||||
"local-unstable": {
|
"local-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 0,
|
"lastModified": 0,
|
||||||
"narHash": "sha256-zw0FIry0jIH2RD4oPubgHZ2YZ03s7f5YZyvXT/wvTBA=",
|
"narHash": "sha256-x6jZEGOgh8Pjf83bbB2rC5GAP3pNlFyFXeXjevqEmJc=",
|
||||||
"path": "/home/giulio/dev/nixpkgs",
|
"path": "/home/giulio/dev/abysssol-nixpkgs",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "/home/giulio/dev/nixpkgs",
|
"path": "/home/giulio/dev/abysssol-nixpkgs",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixos-unstable": {
|
"nixos-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1712057272,
|
"lastModified": 1712841482,
|
||||||
"narHash": "sha256-Kj74jzJy3u9VYzCyn6dunAQ9N3+tqi1x8YBOWo/mrZ0=",
|
"narHash": "sha256-KvP+22fw3QTumfHQEHUuH9aBEXM5YPnIWT6cJQ54ZfA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3c2fdd0a4e6396fc310a6e86faa24d1043a8486a",
|
"rev": "9f53efb9b525398a2ad9f09568bcea708dd79c97",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -51,11 +51,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1712055597,
|
"lastModified": 1712840325,
|
||||||
"narHash": "sha256-fLoHZbpqKAciihzWP7gsfdDeTuNOMV248bVHS74jBIc=",
|
"narHash": "sha256-81Q3wDtTPKWTqZXehhRk7k/bDNPC28UYmeXoY5wys4I=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f526f69b90f41afd865c3c778cd74b1331623c41",
|
"rev": "6c5ad2fa3a97cd0ee44ac921a0bc1b0a780ce1be",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -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/nixpkgs";
|
local-unstable.url = "path:///home/giulio/dev/abysssol-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";
|
||||||
|
@ -25,7 +25,9 @@ let
|
|||||||
api_base: https://ollama.giugl.io
|
api_base: https://ollama.giugl.io
|
||||||
api_key: null
|
api_key: null
|
||||||
models:
|
models:
|
||||||
- name: pino-fast
|
- name: pino-coder-fast
|
||||||
|
max_input_tokens: null
|
||||||
|
- name: pino-coder
|
||||||
max_input_tokens: null
|
max_input_tokens: null
|
||||||
'';
|
'';
|
||||||
aichatRoles = ''
|
aichatRoles = ''
|
||||||
@ -85,11 +87,12 @@ in
|
|||||||
center = ["file-name"]
|
center = ["file-name"]
|
||||||
|
|
||||||
[keys.select.l]
|
[keys.select.l]
|
||||||
c = ":pipe ${pkgs.unstablePkgs.aichat}/bin/aichat -c -r comment"
|
c = ":pipe ${pkgs.unstablePkgs.aichat}/bin/aichat -m ollama:pino-coder-fast -c -r comment"
|
||||||
|
C = ":pipe ${pkgs.unstablePkgs.aichat}/bin/aichat -m ollama:pino-coder -c -r comment"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
"${aichatConfigDir}/roles.yaml".text = aichatRoles;
|
".config/aichat/roles.yaml".text = aichatRoles;
|
||||||
"${aichatConfigDir}/config.yaml".text = aichatConfig;
|
".config/aichat/config.yaml".text = aichatConfig;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user