mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-08 17:53:53 +00:00
32 lines
464 B
Nix
32 lines
464 B
Nix
{
|
|
x,
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
}
|