Automatically add prefixed flake inputs as emacs packages

This commit is contained in:
Andrea Ciceri 2023-09-21 21:55:44 +02:00
parent 570734c9f0
commit 044db098ce
No known key found for this signature in database
4 changed files with 166 additions and 333 deletions

View file

@ -5,22 +5,25 @@
flake-parts.url = "github:hercules-ci/flake-parts";
emacs-overlay.url = "github:nix-community/emacs-overlay";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
indent-bars = {
# TODO remove when it lands on (M)ELPA
extra-package-indent-bars = {
url = "github:jdtsmith/indent-bars";
flake = false;
};
nix-ts-mode = {
extra-package-nix-ts-mode = {
url = "github:aciceri/nix-ts-mode/improved";
flake = false;
};
combobulate = {
extra-package-combobulate = {
url = "github:mickeynp/combobulate";
# url = "github:aciceri/combobulate/nix";
flake = false;
};
agenix-el.url = "github:t4ccer/agenix.el";
extra-package-agenix-el = {
url = "github:t4ccer/agenix.el";
flake = false;
};
};
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux"];
@ -31,6 +34,7 @@
./diff-closures
];
};
nixConfig = {
extra-substituters = [
"https://nix-community.cachix.org"