diff --git a/flake.nix b/flake.nix index d9c86bf..d734b59 100644 --- a/flake.nix +++ b/flake.nix @@ -43,7 +43,6 @@ inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-10th-gen inputs.home-manager.nixosModules.home-manager ./hosts/pinwheel/home.nix - { nixpkgs.overlays = [ inputs.emacs-overlay.overlay ]; } ]; }; diff --git a/hosts/pinwheel/modules/emacs/default.nix b/hosts/pinwheel/modules/emacs/default.nix index 622fd5a..7a070d5 100644 --- a/hosts/pinwheel/modules/emacs/default.nix +++ b/hosts/pinwheel/modules/emacs/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ inputs, pkgs, ... }: let emacs = pkgs.emacsWithPackagesFromUsePackage { package = pkgs.emacs-unstable; @@ -15,6 +15,8 @@ let ''; in { + nixpkgs.overlays = [ inputs.emacs-overlay.overlay ]; + home-manager.users.alex = { services.emacs = { enable = true;