marleyos/modules/home/programs/just/default.nix
2024-11-16 19:38:56 -08:00

24 lines
334 B
Nix

{
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";
};
}