114 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 *

This commit is contained in:
Max Känner 2024-03-09 10:01:00 +01:00
parent 9c7829a817
commit 8166a3f9fe
2 changed files with 39 additions and 1 deletions

View File

@ -11,6 +11,8 @@
../../modules/home-manager/zsh.nix ../../modules/home-manager/zsh.nix
# foot terminal emulator # foot terminal emulator
../../modules/home-manager/foot.nix ../../modules/home-manager/foot.nix
# often used terminal programs
../../modules/home-manager/btop.nix
]; ];
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
@ -33,7 +35,6 @@
# environment. # environment.
home.packages = with pkgs; [ home.packages = with pkgs; [
lazygit lazygit
btop
bat bat
unzip unzip
rustup rustup

View File

@ -0,0 +1,37 @@
{pkgs, ...}: {
programs.btop = {
enable = true;
settings = {
color_theme = "${pkgs.btop}/share/btop/themes/adapta.theme";
theme_background = true;
rounded_corners = true;
graph_symbol = "braille";
shown_boxes = "proc cpu mem net";
update_ms = 1000;
proc_sorting = "cpu lazy";
proc_colors = true;
proc_gradient = true;
proc_per_core = true;
proc_mem_bytes = true;
cpu_graph_upper = "total";
cpu_single_graph = true;
show_uptime = true;
check_temp = true;
cpu_sensor = "Auto";
show_coretemp = true;
temp_scale = "celsius";
base_10_sizes = false;
show_cpu_freq = true;
clock_format = "%H:%M";
background_update = true;
mem_graphs = true;
show_swap = true;
show_io_stat = true;
net_download = 16;
net_upload = 16;
net_auto = false;
show_battery = true;
selected_battery = "Auto";
};
};
}