move imports around regarding emacs stuff

This commit is contained in:
2025-06-25 23:20:32 -07:00
parent 1fdc25ca4e
commit f21fef1a51
2 changed files with 17 additions and 2 deletions

View File

@@ -106,7 +106,6 @@ in
{ {
nixpkgs.overlays = [ nixpkgs.overlays = [
inputs.rust-overlay.overlays.default inputs.rust-overlay.overlays.default
inputs.emacs-overlay.overlays.default
]; ];
} }
) )

View File

@@ -1,5 +1,21 @@
{ pkgs, config, ... }:
{ {
pkgs,
config,
inputs,
...
}:
{
imports = [
(
{ ... }:
{
nixpkgs.overlays = [
inputs.emacs-overlay.overlays.default
];
}
)
];
programs.emacs = { programs.emacs = {
enable = true; enable = true;
package = pkgs.emacs-unstable-pgtk; package = pkgs.emacs-unstable-pgtk;