This commit is contained in:
parent
4995f33591
commit
cd53b6485f
4 changed files with 30 additions and 7 deletions
17
flake.lock
generated
17
flake.lock
generated
|
@ -68,6 +68,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"extra-package-gptel": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1716768306,
|
||||
"narHash": "sha256-7tgBSPZDxW0RDUqJpJn9849iS4yeQtchNPk7CSbblk0=",
|
||||
"owner": "karthink",
|
||||
"repo": "gptel",
|
||||
"rev": "c0603cb973d160f3e450a0dec49dc5ae948f614c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "karthink",
|
||||
"repo": "gptel",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"extra-package-indent-bars": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -264,6 +280,7 @@
|
|||
"extra-package-agenix-el": "extra-package-agenix-el",
|
||||
"extra-package-combobulate": "extra-package-combobulate",
|
||||
"extra-package-copilot": "extra-package-copilot",
|
||||
"extra-package-gptel": "extra-package-gptel",
|
||||
"extra-package-indent-bars": "extra-package-indent-bars",
|
||||
"extra-package-nix-ts-mode": "extra-package-nix-ts-mode",
|
||||
"extra-package-notmuch-notify": "extra-package-notmuch-notify",
|
||||
|
|
|
@ -30,6 +30,11 @@
|
|||
url = "github:firmart/notmuch-notify";
|
||||
flake = false;
|
||||
};
|
||||
# TODO remove when there will be a new release including GPT-4o
|
||||
extra-package-gptel = {
|
||||
url = "github:karthink/gptel";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs @ {flake-parts, ...}:
|
||||
|
|
12
init.el
12
init.el
|
@ -820,12 +820,12 @@ This is meant to be an helper to be called from the window manager."
|
|||
(insert response)))))))
|
||||
)
|
||||
|
||||
(use-package copilot
|
||||
:custom
|
||||
(copilot-max-char -1)
|
||||
(copilot-indent-offset-warning-disable 't)
|
||||
:hook (prog-mode org-mode)
|
||||
:bind (("C-<tab>" . copilot-accept-completion)))
|
||||
;; (use-package copilot
|
||||
;; :custom
|
||||
;; (copilot-max-char -1)
|
||||
;; (copilot-indent-offset-warning-disable 't)
|
||||
;; :hook (prog-mode org-mode)
|
||||
;; :bind (("C-<tab>" . copilot-accept-completion)))
|
||||
|
||||
(use-package pass
|
||||
:config
|
||||
|
|
|
@ -6,6 +6,7 @@ pkgs: epkgs: let
|
|||
indent-bars = [elpaPackages.compat];
|
||||
copilot = [melpaPackages.editorconfig melpaPackages.dash melpaPackages.s melpaPackages.f];
|
||||
notmuch-notify = [melpaPackages.alert melpaPackages.notmuch];
|
||||
gptel = [pkgs.emacsPackages.transient elpaPackages.compat];
|
||||
};
|
||||
|
||||
overrideAttrsPerPackage = { };
|
||||
|
@ -93,7 +94,7 @@ pkgs: epkgs: let
|
|||
poly-org
|
||||
casual
|
||||
# org-re-reveal # FIXME very not nice hash mismatch when building
|
||||
gptel
|
||||
# gptel # TODO uncomment when there will be a new release including GPT-4o
|
||||
]) ++ (with elpaPackages; [
|
||||
delight
|
||||
kind-icon
|
||||
|
|
Reference in a new issue