mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 09:43:11 +01:00
meta: Migrate htop from home-manager to shell module
Realistically I want access to htop on any machine running my shell configuration. Making this NixOS-specific removes some of the dependence on home-manager as well.
This commit is contained in:
parent
a1b9cf218d
commit
e1e1243618
@ -1,22 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (pkgs) htop-vim;
|
||||
in
|
||||
{
|
||||
programs.htop = {
|
||||
enable = true;
|
||||
package = htop-vim;
|
||||
|
||||
settings = {
|
||||
tree_view = true;
|
||||
hide_userland_threads = true;
|
||||
highlight_changes = true;
|
||||
show_cpu_frequency = true;
|
||||
show_cpu_temperature = true;
|
||||
highlight_base_name = true;
|
||||
|
||||
show_program_path = false;
|
||||
};
|
||||
};
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (pkgs) fish;
|
||||
inherit (pkgs) fish htop-vim;
|
||||
in
|
||||
{
|
||||
users.defaultUserShell = fish;
|
||||
@ -258,5 +258,21 @@ in
|
||||
swift.symbol = "swift ";
|
||||
};
|
||||
};
|
||||
|
||||
htop = {
|
||||
enable = true;
|
||||
package = htop-vim;
|
||||
|
||||
settings = {
|
||||
tree_view = true;
|
||||
hide_userland_threads = true;
|
||||
highlight_changes = true;
|
||||
show_cpu_frequency = true;
|
||||
show_cpu_temperature = true;
|
||||
highlight_base_name = true;
|
||||
|
||||
show_program_path = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user