diff --git a/dot/htop.nix b/dot/htop.nix deleted file mode 100644 index 864c76d..0000000 --- a/dot/htop.nix +++ /dev/null @@ -1,26 +0,0 @@ -'' - fields=0 48 17 18 38 39 40 2 46 47 49 1 - sort_key=46 - sort_direction=1 - hide_threads=0 - hide_kernel_threads=1 - hide_userland_threads=0 - shadow_other_users=1 - show_thread_names=1 - show_program_path=1 - highlight_base_name=1 - highlight_megabytes=1 - highlight_threads=1 - tree_view=1 - header_margin=1 - detailed_cpu_time=0 - cpu_count_from_zero=0 - update_process_names=0 - account_guest_in_cpu_meter=1 - color_scheme=0 - delay=15 - left_meters=LeftCPUs2 RightCPUs2 Memory Swap - left_meter_modes=1 1 1 1 - right_meters=Uptime Tasks LoadAverage Battery - right_meter_modes=2 2 2 2 -'' diff --git a/dot/htoprc b/dot/htoprc new file mode 100644 index 0000000..a194980 --- /dev/null +++ b/dot/htoprc @@ -0,0 +1,24 @@ +fields=0 48 17 18 38 39 40 2 46 47 49 1 +sort_key=46 +sort_direction=1 +hide_threads=0 +hide_kernel_threads=1 +hide_userland_threads=0 +shadow_other_users=1 +show_thread_names=1 +show_program_path=1 +highlight_base_name=1 +highlight_megabytes=1 +highlight_threads=1 +tree_view=1 +header_margin=1 +detailed_cpu_time=0 +cpu_count_from_zero=0 +update_process_names=0 +account_guest_in_cpu_meter=1 +color_scheme=0 +delay=15 +left_meters=LeftCPUs2 RightCPUs2 Memory Swap +left_meter_modes=1 1 1 1 +right_meters=Uptime Tasks LoadAverage Battery +right_meter_modes=2 2 2 2 diff --git a/main.nix b/main.nix index fc0c309..643aa83 100644 --- a/main.nix +++ b/main.nix @@ -101,7 +101,7 @@ in { home.file = { ".config/mpv/input.conf".text = import dot/mpv.nix; ".config/Typora/themes/base.user.css".text = import dot/typora.nix; - ".config/htop/htoprc".text = import dot/htop.nix; + ".config/htop/htoprc".text = builtins.readFile dot/htoprc; ".ghc/ghci.conf".text = import dot/ghci.nix { inherit pkgs; }; ".stack/config.yaml".text = import dot/stack.nix { user = config.constants.user; }; ".zshrc".text = "# nothing to see here"; diff --git a/systems/catullus/config.nix b/systems/catullus/config.nix index bdfaada..efc49f3 100644 --- a/systems/catullus/config.nix +++ b/systems/catullus/config.nix @@ -16,7 +16,8 @@ in */ { networks.Aether = { pskRaw = "e1b18af54036c5c9a747fe681c6a694636d60a5f8450f7dec0d76bc93e2ec85a"; }; }; environment.variables.EDITOR = "vim"; - environment.variables.HTOPRC = toString ../../dot/htop.nix; + environment.variables.HTOPRC = toString ../../dot/htoprc; + environment.variables.TERM = "linux"; programs.tmux.enable = true;