Skip to content

Commit

Permalink
deprecate nixosModules.hm
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed Apr 15, 2024
1 parent 84ad935 commit 22d6ea1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -449,16 +449,16 @@
inherit (pkgs) neovim-nightly neovimPlugins;
};

homeManagerModules.default = nixosModules.hm;

# deprecated: use `homeManagerModules.default` instead.
nixosModules.hm = {
homeManagerModules.default = {
imports = [
./lib/hm.nix
{ nixpkgs.overlays = [ overlays.default ]; }
];
};

nixosModules.hm =
pkgs.lib.warn "nixosModules.hm is deprecated; use homeManagerModules.default instead." homeManagerModules.default;

packages = {
default = default-ide.full.neovim;

Expand Down

0 comments on commit 22d6ea1

Please sign in to comment.