Skip to content

Commit

Permalink
Add htop config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanashimia committed Apr 15, 2021
1 parent 5e96618 commit 66bc3fd
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion kana.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,52 @@ profile = {
];

programs = {
htop.enable = true;
htop = {
enable = true;
treeView = true;
hideUserlandThreads = true;
highlightBaseName = true;
showProgramPath = false;
showCpuUsage = true;
meters = {
left = [
"AllCPUs2"
"Blank"
{ kind = "Memory"; mode = 2; }
];
right = [
"Uptime"
"Blank"
"Tasks"
"LoadAverage"
"Blank"
{ kind = "Swap"; mode = 2; }
];
};
fields = [
"PID"
"USER"
"M_RESIDENT"
"PERCENT_CPU"
"PERCENT_MEM"
"STATE"
"COMM"
];
};

rofi = {
enable = true;
package = pkgs.unstable.rofi;
theme = ./dotfiles/rofi.rasi;
font = "Fira Code 12";
extraConfig = "rofi.modi: drun,run,window";
};

tmux = {
enable = true;
extraConfig = builtins.readFile ./dotfiles/tmux.conf;
};

fish = {
enable = true;
interactiveShellInit = builtins.readFile ./dotfiles/fish.fish;
Expand All @@ -37,11 +71,13 @@ profile = {
}
];
};

git = {
enable = true;
userEmail = "[email protected]";
userName = "Nikita Ursol";
};

fzf = {
enable = true;
enableFishIntegration = true;
Expand Down

0 comments on commit 66bc3fd

Please sign in to comment.