mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 19:43:52 +00:00
22 lines
444 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|