feat(home): Just

This commit is contained in:
punkfairie 2024-11-16 17:33:19 -08:00
parent ac9b4344f7
commit 90ff62dc7b
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696
3 changed files with 25 additions and 6 deletions

View file

@ -30,6 +30,7 @@ in
gpg = enabled;
hyfetch = enabled;
journalctl = enabled;
just = enabled;
neo = enabled;
systemctl = enabled;
};

View file

@ -0,0 +1,24 @@
{
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";
};
}

View file

@ -1,6 +0,0 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
just
];
}