marleyos/modules/home/programs/just/default.nix

25 lines
334 B
Nix
Raw Normal View History

2024-11-16 17:33:19 -08:00
{
lib,
config,
namespace,
pkgs,
...
}:
let
inherit (lib) mkIf;
inherit (lib.${namespace}) mkEnableModule;
cfg = config.${namespace}.programs.just;
in
{
options = mkEnableModule "programs.just";
config = mkIf cfg.enable {
home.packages = with pkgs; [
just
];
home.shellAbbrs.j = "just";
};
}