diff --git a/config.nix b/config.nix index 1dd95de..3b80cc1 100644 --- a/config.nix +++ b/config.nix @@ -5,12 +5,12 @@ in { imports = [ "${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos" ./options.nix - ./configs/shells.nix - ./configs/editors.nix - ./configs/graphics.nix - ./configs/packages.nix - ./configs/networks.nix - ./configs/retiolum.nix + configs/shells.nix + configs/editors.nix + configs/graphics.nix + configs/packages.nix + configs/networks.nix + configs/retiolum.nix ]; time.timeZone = "Europe/Berlin"; @@ -67,7 +67,7 @@ in { programs.tmux = { enable = true; - extraTmuxConf = import ./dot/tmux.nix; + extraTmuxConf = import dot/tmux.nix; keyMode = "vi"; terminal = "screen-256color"; }; @@ -97,11 +97,11 @@ in { }; home.file = { - # ".background-image".source = ./art/37333571_p0_master1200.jpg; - ".config/mpv/input.conf".text = import ./dot/mpv.nix; - ".config/Typora/themes/base.user.css".text = import ./dot/typora.nix; - ".ghc/ghci.conf".text = import ./dot/ghci.nix { inherit pkgs; }; - ".stack/config.yaml".text = import ./dot/stack.nix { user = config.constants.user; }; + ".config/mpv/input.conf".text = import dot/mpv.nix; + ".config/Typora/themes/base.user.css".text = import dot/typora.nix; + ".ghc/ghci.conf".text = import dot/ghci.nix { inherit pkgs; }; + ".config/htop/htoprc".text = import dot/htop.nix; + ".stack/config.yaml".text = import dot/stack.nix { user = config.constants.user; }; ".zshrc".text = "# nothing to see here"; }; }; diff --git a/dot/htop.nix b/dot/htop.nix new file mode 100644 index 0000000..864c76d --- /dev/null +++ b/dot/htop.nix @@ -0,0 +1,26 @@ +'' + 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 +''