Compare commits
5 Commits
2c301622bb
...
5a2c019d22
Author | SHA1 | Date | |
---|---|---|---|
5a2c019d22 | |||
89102d50f2 | |||
8166a3f9fe | |||
9c7829a817 | |||
8ac6572559 |
@ -11,6 +11,9 @@
|
||||
../../modules/home-manager/zsh.nix
|
||||
# foot terminal emulator
|
||||
../../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
|
||||
@ -33,8 +36,6 @@
|
||||
# environment.
|
||||
home.packages = with pkgs; [
|
||||
lazygit
|
||||
btop
|
||||
bat
|
||||
unzip
|
||||
rustup
|
||||
nextcloud-client
|
||||
|
10
modules/home-manager/bat.nix
Normal file
10
modules/home-manager/bat.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{...}: {
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
config = {
|
||||
map-syntax = ["*.ino:C++"];
|
||||
theme = "Solarized (dark)";
|
||||
style = "numbers,changes,header-filename,header-filesize";
|
||||
};
|
||||
};
|
||||
}
|
37
modules/home-manager/btop.nix
Normal file
37
modules/home-manager/btop.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
@ -34,6 +34,7 @@
|
||||
syntaxHighlighting.enable = true;
|
||||
syntaxHighlighting.highlighters = ["main" "brackets"];
|
||||
initExtra = ''
|
||||
# auto completion
|
||||
bindkey '^I' complete-word
|
||||
bindkey '^[[Z' autosuggest-accept
|
||||
# backspace
|
||||
|
Loading…
Reference in New Issue
Block a user