1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 19:43:52 +00:00
ultima/modules/home/programs/cli/top/default.nix
2024-12-09 10:15:55 +09:00

22 lines
444 B
Nix

{ x, pkgs, lib, config, True, ... }:
with lib;
with x;
let cfg = config.module.programs.cli.top;
in {
options = { module.programs.cli.top = { enable = mkBool; }; };
config = mkIf cfg.enable {
home.packages = with pkgs; [ nvtopPackages.amd ];
programs.btop = True // {
settings = {
color_theme = "TTY";
theme_background = true;
vim_keys = true;
rounded_corners = true;
};
};
};
}