Skip to content

Commit

Permalink
feat(nix): add bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Mar 22, 2024
1 parent 7783331 commit bd902d3
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
3 changes: 2 additions & 1 deletion nix/homes/aarch64-darwin/sab@mbp13/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ with lib.custom; {
};

cli-apps = {
home-manager = enabled;
atuin = enabled;
bottom = enabled;
home-manager = enabled;
neovim = enabled;
yazi = enabled;
};
Expand Down
5 changes: 3 additions & 2 deletions nix/homes/x86_64-linux/sab@nz/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ with lib.custom; {

cli-apps = {
atuin = enabled;
yazi = enabled;
home-manager = enabled;
bottom = enabled;
fastfetch = enabled;
home-manager = enabled;
yazi = enabled;
};
tools = {
gh = enabled;
Expand Down
20 changes: 20 additions & 0 deletions nix/modules/home/cli-apps/bottom/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf;

cfg = config.custom.cli-apps.bottom;
in {
options.custom.cli-apps.bottom = {
enable = mkEnableOption "bottom";
};

config = mkIf cfg.enable {
home = {
packages = with pkgs; [bottom];
};
};
}

0 comments on commit bd902d3

Please sign in to comment.