1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 12:49:48 +01:00
home-manager/modules/programs/just.nix
maximsmol eb3598cf44
just: deprecate module
The module is no longer necessary since completions work out of the
box now.
2022-12-03 10:13:47 +01:00

22 lines
654 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.programs.just;
in {
meta.maintainers = [ hm.maintainers.maximsmol ];
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'';
in [
(mkRemovedOptionModule [ "programs" "just" "enable" ] msg)
(mkRemovedOptionModule [ "programs" "just" "enableBashIntegration" ] msg)
(mkRemovedOptionModule [ "programs" "just" "enableZshIntegration" ] msg)
(mkRemovedOptionModule [ "programs" "just" "enableFishIntegration" ] msg)
];
}