Skip to content

Commit

Permalink
feat: use emacs-overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed May 16, 2024
1 parent a90e9e4 commit 8d5e508
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 2 deletions.
74 changes: 73 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 16 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";

systems.url = "github:nix-systems/default";

emacs-overlay.url = "github:nix-community/emacs-overlay";
emacs-overlay.inputs.nixpkgs.follows = "nixpkgs";
};

outputs =
Expand All @@ -15,7 +18,19 @@
imports = [
./nix/dev-shells.nix
./nix/packages.nix
(
{ inputs, ... }:
{
perSystem =
{ pkgs, system, ... }:
{
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
overlays = [ inputs.emacs-overlay.overlays.default ];
};
};
}
)
];
};
}

0 comments on commit 8d5e508

Please sign in to comment.