Skip to content

Commit

Permalink
feat: update htop config
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelsgirao committed Sep 10, 2024
1 parent 04f8160 commit 42794bf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/core/home.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ config, pkgs, lib, hostSecretsDir, inputs, file, ... }:
let
isWorkstation = config.rg.class == "workstation";
isVirt = config.rg.machineType == "virt";
config' = config;
allowedSignersFile = pkgs.writeText "allowed_signers" ''
[email protected] namespaces="git" ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDzCDVaFW2iJmjXHNRdAfa71OFpMzxMDn8bfumxU0f+5wXskNmjgNf+kYYH+lzigPU1rxzLgi8dysaWJd3XBiYw= rg-Signing@sazed[TPM]
Expand Down Expand Up @@ -370,10 +371,13 @@ in
enable = true;
package = pkgs.htop-vim;
settings = {
show_cpu_frequency = 1;
show_cpu_temperature = 1;
show_program_path = 0;
shadow_other_users = 1;
hide_kernel_threads = 1;
hide_userland_threads = 1;
} // lib.optionalAttrs (!isVirt) {
show_cpu_frequency = 1;
show_cpu_temperature = 1;
};
};
programs.direnv = lib.mkIf isWorkstation {
Expand Down

0 comments on commit 42794bf

Please sign in to comment.