Compare commits

..

5 Commits

4 changed files with 51 additions and 2 deletions

View File

@ -11,6 +11,9 @@
../../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
../../modules/home-manager/bat.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,8 +36,6 @@
# environment. # environment.
home.packages = with pkgs; [ home.packages = with pkgs; [
lazygit lazygit
btop
bat
unzip unzip
rustup rustup
nextcloud-client nextcloud-client

View File

@ -0,0 +1,10 @@
{...}: {
programs.bat = {
enable = true;
config = {
map-syntax = ["*.ino:C++"];
theme = "Solarized (dark)";
style = "numbers,changes,header-filename,header-filesize";
};
};
}

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 = 128;
net_upload = 128;
net_auto = false;
show_battery = true;
selected_battery = "Auto";
};
};
}

View File

@ -34,6 +34,7 @@
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
syntaxHighlighting.highlighters = ["main" "brackets"]; syntaxHighlighting.highlighters = ["main" "brackets"];
initExtra = '' initExtra = ''
# auto completion
bindkey '^I' complete-word bindkey '^I' complete-word
bindkey '^[[Z' autosuggest-accept bindkey '^[[Z' autosuggest-accept
# backspace # backspace