From 3f82140e8b823b308a1890ae3fcb17ad1a47a05a Mon Sep 17 00:00:00 2001 From: Alex Hamilton <1622250+Aehmlo@users.noreply.github.com> Date: Sat, 24 May 2025 18:07:12 -0400 Subject: [PATCH] flake/wrappers: Make homeModules the canonical name --- flake/wrappers.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/flake/wrappers.nix b/flake/wrappers.nix index e9cf7bbe..10f724e1 100644 --- a/flake/wrappers.nix +++ b/flake/wrappers.nix @@ -20,19 +20,12 @@ nixvim = import ../wrappers/nixos.nix self; default = self.nixosModules.nixvim; }; - # Alias for backward compatibility - # Added 2025-05-25 in https://github.com/nix-community/nixvim/pull/3387 - homeManagerModules = - let - cond = lib.trivial.oldestSupportedReleaseIsAtLeast 2505; - msg = "nixvim: flake output `homeManagerModules` has been renamed to `homeModules`."; - in - lib.warnIf cond msg self.homeModules; + # For backward compatibility + homeManagerModules = self.homeModules; homeModules = { nixvim = import ../wrappers/hm.nix self; default = self.homeModules.nixvim; }; - homeModules = self.homeModules; nixDarwinModules = { nixvim = import ../wrappers/darwin.nix self; default = self.nixDarwinModules.nixvim;