Skip to content

Commit

Permalink
Trying nixpkgs overlays again
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Dec 13, 2023
1 parent 865a1b0 commit d712eba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
14 changes: 8 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
mkHomeManagerConfig = { system, modules }:
home-manager.lib.homeManagerConfiguration {
inherit modules;
pkgs = nixpkgs.legacyPackages.${system};
extraSpecialArgs = {
devenv-overlay = (final: prev: {
devenv = devenv.packages.${system}.default;
});
vim-plugins-overlay = vim-plugins.overlays.default;
pkgs = import nixpkgs {
inherit system;
overlays = [
(final: prev: {
devenv = devenv.packages.${system}.default;
})
vim-plugins.overlays.default
];
};
};
in
Expand Down
7 changes: 1 addition & 6 deletions home.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, pkgs, devenv-overlay, vim-plugins-overlay, ... }:
{ config, pkgs, ... }:

{
# This value determines the Home Manager release that your configuration is
Expand Down Expand Up @@ -72,9 +72,4 @@
programs.starship.enable = true;

programs.home-manager.enable = true;

nixpkgs.overlays = [
devenv-overlay
vim-plugins-overlay
];
}

0 comments on commit d712eba

Please sign in to comment.