diff --git a/modules/deprecations.nix b/modules/deprecations.nix index 02f459950..4dc5283b5 100644 --- a/modules/deprecations.nix +++ b/modules/deprecations.nix @@ -18,5 +18,20 @@ The corresponding package was removed from nixpkgs, consider using `deskflow` or `input-leap` instead. '') - ]; + ] + # Just module removal + ++ (map + ( + opt: + lib.mkRemovedOptionModule [ "programs" "just" opt ] '' + 'program.just' is deprecated, simply add 'pkgs.just' to 'home.packages' instead. + See https://github.com/nix-community/home-manager/issues/3449#issuecomment-1329823502'' + ) + [ + "enable" + "enableBashIntegration" + "enableZshIntegration" + "enableFishIntegration" + ] + ); } diff --git a/modules/programs/just.nix b/modules/programs/just.nix deleted file mode 100644 index 94b887cc2..000000000 --- a/modules/programs/just.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ lib, ... }: - -{ - imports = - let - msg = '' - 'program.just' is deprecated, simply add 'pkgs.just' to 'home.packages' instead. - See https://github.com/nix-community/home-manager/issues/3449#issuecomment-1329823502''; - - removed = opt: lib.mkRemovedOptionModule [ "programs" "just" opt ] msg; - in - map removed [ - "enable" - "enableBashIntegration" - "enableZshIntegration" - "enableFishIntegration" - ]; -}