move imports around regarding emacs stuff

This commit is contained in:
Simon Gardling 2025-06-25 23:20:32 -07:00
parent 1fdc25ca4e
commit f21fef1a51
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
2 changed files with 17 additions and 2 deletions

View File

@ -106,7 +106,6 @@ in
{
nixpkgs.overlays = [
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 = {
enable = true;
package = pkgs.emacs-unstable-pgtk;