feat(home): Just
This commit is contained in:
parent
ac9b4344f7
commit
90ff62dc7b
3 changed files with 25 additions and 6 deletions
|
@ -30,6 +30,7 @@ in
|
|||
gpg = enabled;
|
||||
hyfetch = enabled;
|
||||
journalctl = enabled;
|
||||
just = enabled;
|
||||
neo = enabled;
|
||||
systemctl = enabled;
|
||||
};
|
||||
|
|
24
modules/home/programs/just/default.nix
Normal file
24
modules/home/programs/just/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
just
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue