Add htop to system, btop to home-manager setup

This commit is contained in:
Evie Litherland-Smith 2023-11-11 19:22:34 +00:00
parent 2ddf5961b7
commit 433be5b06e
3 changed files with 19 additions and 1 deletions

View file

@ -37,6 +37,7 @@
./home/hyprland/default.nix ./home/hyprland/default.nix
./home/nyxt/default.nix ./home/nyxt/default.nix
./home/alacritty.nix ./home/alacritty.nix
./home/btop.nix
./home/default.nix ./home/default.nix
./home/kdeconnect.nix ./home/kdeconnect.nix
./home/media.nix ./home/media.nix

14
home/btop.nix Normal file
View file

@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }:
{
programs.btop = {
enable = true;
settings = {
graph_symbol = "block";
update_ms = 2000;
proc_tree = true;
proc_colors = true;
proc_gradient = true;
};
};
}

View file

@ -12,7 +12,10 @@ in {
''sudo nixos-rebuild switch --flake "${flakeURL}" --refresh''; ''sudo nixos-rebuild switch --flake "${flakeURL}" --refresh'';
}; };
console.keyMap = "uk"; console.keyMap = "uk";
programs.ssh.startAgent = true; programs = {
htop.enable = true;
ssh.startAgent = true;
};
services = { services = {
upower.enable = true; upower.enable = true;
power-profiles-daemon.enable = true; power-profiles-daemon.enable = true;