this repo has no description
0
fork

Configure Feed

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

Update lix HEAD and check in some helix settings

+247 -7
+4 -4
.config/flake.lock
··· 126 126 "lix": { 127 127 "flake": false, 128 128 "locked": { 129 - "lastModified": 1738174211, 130 - "narHash": "sha256-eYmp1mKM4kULV1W+EBtCPk6LmKWl2REivaYfGRl+AWo=", 129 + "lastModified": 1742165831, 130 + "narHash": "sha256-/ssmsf50UERQNlOcUuyfvigcnCNckAhAPZMo0+Y3mdY=", 131 131 "ref": "main", 132 - "rev": "64e33a7e09a0d1faacf2fd3f6ebd647fe4d8346a", 133 - "revCount": 17329, 132 + "rev": "2a336813ad2a4d64d027830507276da32927d215", 133 + "revCount": 17664, 134 134 "type": "git", 135 135 "url": "https://git.lix.systems/lix-project/lix.git" 136 136 },
+14
.config/flake.nix
··· 55 55 , nix-darwin 56 56 , home-manager 57 57 , nix-homebrew 58 + , lix-module 58 59 , ... 59 60 }: 60 61 let ··· 158 159 }; 159 160 } 160 161 ./nixpkgs/flake-overlays.nix 162 + { 163 + nixpkgs.overlays = [ 164 + lix-module.overlays.default 165 + (final: prev: { 166 + lix = prev.lix.override { 167 + aws-sdk-cpp = prev.aws-sdk-cpp.overrideAttrs (old: { 168 + cmakeFlags = [ "-DENABLE_TESTING=OFF" ] 169 + ++ old.cmakeFlags or [ ]; 170 + }); 171 + }; 172 + }) 173 + ]; 174 + } 161 175 ]; 162 176 } 163 177 )
+223
.config/home-manager/helix/default.nix
··· 1 + { lib, vimMode ? false, ... }: { 2 + settings = { 3 + theme = "monokai"; 4 + 5 + keys = lib.mkIf vimMode { 6 + insert.esc = [ "collapse_selection" "normal_mode" ]; 7 + normal = { 8 + "#" = [ 9 + "move_char_right" 10 + "move_prev_word_start" 11 + "move_next_word_end" 12 + "search_selection" 13 + "search_prev" 14 + ]; 15 + "$" = "goto_line_end"; 16 + "%" = "match_brackets"; 17 + "*" = [ 18 + "move_char_right" 19 + "move_prev_word_start" 20 + "move_next_word_end" 21 + "search_selection" 22 + "search_next" 23 + ]; 24 + "0" = "goto_line_start"; 25 + B = [ "move_prev_long_word_start" "collapse_selection" ]; 26 + C = [ "extend_to_line_end" "yank_main_selection_to_clipboard" "delete_selection" "insert_mode" ]; 27 + C-h = "select_prev_sibling"; 28 + C-j = "shrink_selection"; 29 + C-k = "expand_selection"; 30 + C-l = "select_next_sibling"; 31 + C-o = ":config-open"; 32 + C-r = ":config-reload"; 33 + D = [ "extend_to_line_end" "yank_main_selection_to_clipboard" "delete_selection" ]; 34 + E = [ "move_next_long_word_end" "collapse_selection" ]; 35 + G = "goto_file_end"; 36 + O = [ "open_above" "normal_mode" ]; 37 + P = [ "paste_clipboard_before" "collapse_selection" ]; 38 + S = "surround_add"; 39 + V = [ "select_mode" "extend_to_line_bounds" ]; 40 + W = [ "move_next_long_word_start" "move_char_right" "collapse_selection" ]; 41 + Y = [ "extend_to_line_end" "yank_main_selection_to_clipboard" "collapse_selection" ]; 42 + "^" = "goto_first_nonwhitespace"; 43 + a = [ "append_mode" "collapse_selection" ]; 44 + b = [ "move_prev_word_start" "collapse_selection" ]; 45 + d.G = [ 46 + "select_mode" 47 + "extend_to_line_bounds" 48 + "goto_last_line" 49 + "extend_to_line_bounds" 50 + "yank_main_selection_to_clipboard" 51 + "delete_selection" 52 + "normal_mode" 53 + ]; 54 + d.W = [ "move_next_long_word_start" "yank_main_selection_to_clipboard" "delete_selection" ]; 55 + d.a = [ "select_textobject_around" ]; 56 + d.d = [ "extend_to_line_bounds" "yank_main_selection_to_clipboard" "delete_selection" ]; 57 + d.down = [ 58 + "select_mode" 59 + "extend_to_line_bounds" 60 + "extend_line_below" 61 + "yank_main_selection_to_clipboard" 62 + "delete_selection" 63 + "normal_mode" 64 + ]; 65 + d.g.g = [ 66 + "select_mode" 67 + "extend_to_line_bounds" 68 + "goto_file_start" 69 + "extend_to_line_bounds" 70 + "yank_main_selection_to_clipboard" 71 + "delete_selection" 72 + "normal_mode" 73 + ]; 74 + d.i = [ "select_textobject_inner" ]; 75 + d.j = [ 76 + "select_mode" 77 + "extend_to_line_bounds" 78 + "extend_line_below" 79 + "yank_main_selection_to_clipboard" 80 + "delete_selection" 81 + "normal_mode" 82 + ]; 83 + d.k = [ 84 + "select_mode" 85 + "extend_to_line_bounds" 86 + "extend_line_above" 87 + "yank_main_selection_to_clipboard" 88 + "delete_selection" 89 + "normal_mode" 90 + ]; 91 + d.s = [ "surround_delete" ]; 92 + d.t = [ "extend_till_char" ]; 93 + d.up = [ 94 + "select_mode" 95 + "extend_to_line_bounds" 96 + "extend_line_above" 97 + "yank_main_selection_to_clipboard" 98 + "delete_selection" 99 + "normal_mode" 100 + ]; 101 + d.w = [ "move_next_word_start" "yank_main_selection_to_clipboard" "delete_selection" ]; 102 + e = [ "move_next_word_end" "collapse_selection" ]; 103 + esc = [ "collapse_selection" "keep_primary_selection" ]; 104 + i = [ "insert_mode" "collapse_selection" ]; 105 + j = "move_line_down"; 106 + k = "move_line_up"; 107 + o = [ "open_below" "normal_mode" ]; 108 + p = [ "paste_clipboard_after" "collapse_selection" ]; 109 + u = [ "undo" "collapse_selection" ]; 110 + w = [ "move_next_word_start" "move_char_right" "collapse_selection" ]; 111 + x = "delete_selection"; 112 + y.G = [ 113 + "select_mode" 114 + "extend_to_line_bounds" 115 + "goto_last_line" 116 + "extend_to_line_bounds" 117 + "yank_main_selection_to_clipboard" 118 + "collapse_selection" 119 + "normal_mode" 120 + ]; 121 + y.W = [ 122 + "move_next_long_word_start" 123 + "yank_main_selection_to_clipboard" 124 + "collapse_selection" 125 + "normal_mode" 126 + ]; 127 + y.down = [ 128 + "select_mode" 129 + "extend_to_line_bounds" 130 + "extend_line_below" 131 + "yank_main_selection_to_clipboard" 132 + "collapse_selection" 133 + "normal_mode" 134 + ]; 135 + y.g.g = [ 136 + "select_mode" 137 + "extend_to_line_bounds" 138 + "goto_file_start" 139 + "extend_to_line_bounds" 140 + "yank_main_selection_to_clipboard" 141 + "collapse_selection" 142 + "normal_mode" 143 + ]; 144 + y.j = [ 145 + "select_mode" 146 + "extend_to_line_bounds" 147 + "extend_line_below" 148 + "yank_main_selection_to_clipboard" 149 + "collapse_selection" 150 + "normal_mode" 151 + ]; 152 + y.k = [ 153 + "select_mode" 154 + "extend_to_line_bounds" 155 + "extend_line_above" 156 + "yank_main_selection_to_clipboard" 157 + "collapse_selection" 158 + "normal_mode" 159 + ]; 160 + y.up = [ 161 + "select_mode" 162 + "extend_to_line_bounds" 163 + "extend_line_above" 164 + "yank_main_selection_to_clipboard" 165 + "collapse_selection" 166 + "normal_mode" 167 + ]; 168 + y.w = [ 169 + "move_next_word_start" 170 + "yank_main_selection_to_clipboard" 171 + "collapse_selection" 172 + "normal_mode" 173 + ]; 174 + y.y = [ 175 + "extend_to_line_bounds" 176 + "yank_main_selection_to_clipboard" 177 + "normal_mode" 178 + "collapse_selection" 179 + ]; 180 + "{" = [ "goto_prev_paragraph" "collapse_selection" ]; 181 + "}" = [ "goto_next_paragraph" "collapse_selection" ]; 182 + }; 183 + select = { 184 + "$" = "goto_line_end"; 185 + "%" = "match_brackets"; 186 + "0" = "goto_line_start"; 187 + C = [ "goto_line_start" "extend_to_line_bounds" "change_selection" ]; 188 + C-a = [ "append_mode" "collapse_selection" ]; 189 + D = [ "extend_to_line_bounds" "delete_selection" "normal_mode" ]; 190 + G = "goto_file_end"; 191 + P = "paste_clipboard_before"; 192 + S = "surround_add"; 193 + U = [ "switch_to_uppercase" "collapse_selection" "normal_mode" ]; 194 + Y = [ 195 + "extend_to_line_bounds" 196 + "yank_main_selection_to_clipboard" 197 + "goto_line_start" 198 + "collapse_selection" 199 + "normal_mode" 200 + ]; 201 + "^" = "goto_first_nonwhitespace"; 202 + a = "select_textobject_around"; 203 + d = [ "yank_main_selection_to_clipboard" "delete_selection" ]; 204 + esc = [ "collapse_selection" "keep_primary_selection" "normal_mode" ]; 205 + i = "select_textobject_inner"; 206 + j = [ "extend_line_down" "extend_to_line_bounds" ]; 207 + k = [ "extend_line_up" "extend_to_line_bounds" ]; 208 + p = "replace_selections_with_clipboard"; 209 + tab = [ "insert_mode" "collapse_selection" ]; 210 + u = [ "switch_to_lowercase" "collapse_selection" "normal_mode" ]; 211 + x = [ "yank_main_selection_to_clipboard" "delete_selection" ]; 212 + y = [ 213 + "yank_main_selection_to_clipboard" 214 + "normal_mode" 215 + "flip_selections" 216 + "collapse_selection" 217 + ]; 218 + "{" = [ "extend_to_line_bounds" "goto_prev_paragraph" ]; 219 + "}" = [ "extend_to_line_bounds" "goto_next_paragraph" ]; 220 + }; 221 + }; 222 + }; 223 + }
+6 -3
.config/home-manager/home.nix
··· 53 53 extra-experimental-features = [ 54 54 "repl-flake" 55 55 "pipe-operator" 56 + "lix-custom-sub-commands" 56 57 ]; 57 58 58 59 # TODO: try out default-flake ··· 90 91 helix = { 91 92 enable = true; 92 93 package = pkgs.helix; 93 - settings = { 94 - theme = "monokai"; 94 + settings = import ./helix { 95 + # https://github.com/LGUG2Z/helix-vim/blob/master/config.toml 96 + inherit lib; 97 + vimMode = false; 95 98 }; 96 99 }; 97 100 htop.enable = true; ··· 240 243 python3 241 244 rustup 242 245 shellcheck 246 + thefuck 243 247 tmux 244 248 tree 245 249 lnav ··· 264 268 ++ lib.optionals stdenv.isLinux [ 265 269 pinentry-curses 266 270 comby # failing to build on macOS: https://github.com/NixOS/nixpkgs/issues/359193 267 - thefuck # also failing on macOS can't quite figure why 268 271 ] 269 272 ++ lib.optionals host.wsl [ 270 273 podman # use podman --remote to access host WSL podman instance