this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

btop

Ben C 1f7d39ba 420b9987

+31 -106
+7 -7
flake.lock
··· 449 449 ] 450 450 }, 451 451 "locked": { 452 - "lastModified": 1775104157, 453 - "narHash": "sha256-rm/7k0D2J9SP30pyZ2C1HqarDncZDN6KAUI0gzgg4TA=", 452 + "lastModified": 1775143651, 453 + "narHash": "sha256-S0RqAyDPMTcv9vASMaE8eY1QexFysAOdnxUxFHIPOyE=", 454 454 "owner": "nix-community", 455 455 "repo": "home-manager", 456 - "rev": "41e6e2ab37763c09db4e639033392cf40900440a", 456 + "rev": "d166a078541982a76f14d3e06e9665fa5c9ed85e", 457 457 "type": "github" 458 458 }, 459 459 "original": { ··· 999 999 "sqlite-lib-src": "sqlite-lib-src" 1000 1000 }, 1001 1001 "locked": { 1002 - "lastModified": 1775131875, 1003 - "narHash": "sha256-kwERg9GE67UXM7WvoZ9Ho0piVlyCfv4cCgubcFkfKNs=", 1002 + "lastModified": 1775158647, 1003 + "narHash": "sha256-anV49x4tuM2psfy0Is/bp9uz/9WFiCRBniBntbJrSoU=", 1004 1004 "ref": "refs/heads/master", 1005 - "rev": "8345797dcc137c0532f0ae7c59a0f1212e128aa0", 1006 - "revCount": 2160, 1005 + "rev": "13ec3ea83b075975ecb899be4f0e9d990b5bec61", 1006 + "revCount": 2162, 1007 1007 "type": "git", 1008 1008 "url": "https://tangled.org/tangled.org/core" 1009 1009 },
+20
homeModules/btop.nix
··· 1 + {...}: { 2 + config, 3 + lib, 4 + pkgs, 5 + ... 6 + }: { 7 + options.cow.btop.enable = lib.mkEnableOption "btop + customizations"; 8 + 9 + config = lib.mkIf config.cow.btop.enable { 10 + programs.btop = { 11 + enable = true; 12 + settings = { 13 + proc_sorting = "memory"; 14 + proc_left = true; 15 + show_uptime = false; 16 + clock_format = "%I:%M:%S %P | /user@/host for /uptime"; 17 + }; 18 + }; 19 + }; 20 + }
-95
homeModules/htop.nix
··· 1 - {...}: { 2 - lib, 3 - config, 4 - ... 5 - }: { 6 - options.cow.htop.enable = lib.mkEnableOption "htop + customizations"; 7 - 8 - config = lib.mkIf config.cow.htop.enable { 9 - # TODO: Actually use Nix for this 10 - xdg.configFile."htop/htoprc".text = '' 11 - htop_version=3.3.0 12 - config_reader_min_version=3 13 - fields=0 3 2 18 46 47 39 1 14 - hide_kernel_threads=1 15 - hide_userland_threads=0 16 - hide_running_in_container=0 17 - shadow_other_users=0 18 - show_thread_names=1 19 - show_program_path=0 20 - highlight_base_name=1 21 - highlight_deleted_exe=0 22 - shadow_distribution_path_prefix=0 23 - highlight_megabytes=1 24 - highlight_threads=1 25 - highlight_changes=0 26 - highlight_changes_delay_secs=5 27 - find_comm_in_cmdline=1 28 - strip_exe_from_cmdline=1 29 - show_merged_command=0 30 - header_margin=1 31 - screen_tabs=1 32 - detailed_cpu_time=0 33 - cpu_count_from_one=1 34 - show_cpu_usage=1 35 - show_cpu_frequency=0 36 - show_cpu_temperature=1 37 - degree_fahrenheit=0 38 - update_process_names=0 39 - account_guest_in_cpu_meter=1 40 - color_scheme=0 41 - enable_mouse=1 42 - delay=15 43 - hide_function_bar=0 44 - header_layout=two_67_33 45 - column_meters_0=System Hostname Date Clock Uptime Tasks CPU AllCPUs4 MemorySwap 46 - column_meter_modes_0=2 2 2 2 2 2 2 1 1 47 - column_meters_1=DiskIO DiskIO Blank NetworkIO NetworkIO 48 - column_meter_modes_1=2 3 2 2 3 49 - tree_view=0 50 - sort_key=46 51 - tree_sort_key=0 52 - sort_direction=-1 53 - tree_sort_direction=1 54 - tree_view_always_by_pid=0 55 - all_branches_collapsed=0 56 - screen:Main=PID PPID STATE NICE PERCENT_CPU PERCENT_MEM M_RESIDENT Command 57 - .sort_key=PERCENT_CPU 58 - .tree_sort_key=PID 59 - .tree_view_always_by_pid=0 60 - .tree_view=0 61 - .sort_direction=-1 62 - .tree_sort_direction=1 63 - .all_branches_collapsed=0 64 - screen:Tree=PID PPID PGRP PROCESSOR TTY USER SESSION Command 65 - .sort_key=PID 66 - .tree_sort_key=PID 67 - .tree_view_always_by_pid=0 68 - .tree_view=1 69 - .sort_direction=1 70 - .tree_sort_direction=1 71 - .all_branches_collapsed=0 72 - screen:I/O=PID PPID IO_READ_RATE IO_WRITE_RATE Command 73 - .sort_key=IO_RATE 74 - .tree_sort_key=PID 75 - .tree_view_always_by_pid=0 76 - .tree_view=0 77 - .sort_direction=-1 78 - .tree_sort_direction=1 79 - .all_branches_collapsed=0 80 - ''; 81 - programs.htop = { 82 - enable = true; 83 - }; 84 - xdg.dataFile = lib.mkIf config.cow.gdi.enable { 85 - "applications/htop.desktop".text = '' 86 - [Desktop Entry] 87 - Type=Application 88 - Name=Htop 89 - Terminal=true 90 - Exec=htop 91 - Icon=htop 92 - ''; 93 - }; 94 - }; 95 - }
-1
homeModules/user-bean.nix
··· 87 87 commandNotFound = true; 88 88 }; 89 89 neovim.enable = true; 90 - htop.enable = true; 91 90 starship.enable = true; 92 91 dev.enable = true; 93 92 jj.enable = true;
+4 -2
homeModules/utils.nix
··· 18 18 }; 19 19 20 20 config = lib.mkIf config.cow.utils.enable { 21 - cow.ddhx.enable = true; 21 + cow = { 22 + btop.enable = true; 23 + ddhx.enable = true; 24 + }; 22 25 23 26 home.packages = with pkgs; 24 27 [ ··· 43 46 inetutils 44 47 just 45 48 man-pages 46 - htop 47 49 dig 48 50 doggo 49 51 tealdeer
-1
nixosConfigurations/installer.nix
··· 79 79 commandNotFound = true; 80 80 }; 81 81 neovim.enable = true; 82 - htop.enable = true; 83 82 starship.enable = true; 84 83 yazi.enable = true; 85 84 dev.enable = false;