| author | |
| committer | |
| log | 6685dd8e70c72853ef29acb217082ade33ab5ae0 |
| tree | 399be5cff9bbc9e529075fd8048a375466f3f1a2 |
| parent | ae43ca83248e7afaaa6738a3092aff26e2db88ba |
5 files changed, 24 insertions(+), 22 deletions(-)
modules/home/default.nix+11-7| ... | ... | @@ -120,16 +120,20 @@ in |
| 120 | 120 | inherit (pkgs.fishPlugins.bang-bang) src; |
| 121 | 121 | } |
| 122 | 122 | ]; |
| 123 | shellAliases = { | |
| 124 | } | |
| 125 | // lib.optionalAttrs (!host.darwin) { | |
| 126 | reboot-windows = "sudo efibootmgr --bootnext 0000; sudo reboot -h now"; | |
| 127 | }; | |
| 128 | 123 | shellInit = '' |
| 129 | batman --export-env | source | |
| 130 | test -r '/Users/${user.username}/.opam/opam-init/init.fish' && source '/Users/${user.username}/.opam/opam-init/init.fish' > /dev/null 2> /dev/null; or true | |
| 124 | if type -q batman | |
| 125 | batman --export-env | source | |
| 126 | end | |
| 127 | test -r "$HOME"'/.opam/opam-init/init.fish' && source "$HOME"'/.opam/opam-init/init.fish' > /dev/null 2> /dev/null; or true | |
| 131 | 128 | ''; |
| 132 | 129 | }; |
| 130 | zsh = { | |
| 131 | enableCompletion = true; | |
| 132 | autosuggestion.enable = true; | |
| 133 | syntaxHighlighting.enable = true; | |
| 134 | autocd = true; | |
| 135 | history.size = 10000; | |
| 136 | }; | |
| 133 | 137 | |
| 134 | 138 | ghostty.settings.custom-shader = lib.mkIf ( |
| 135 | 139 | cfg.ghostty.shader != null |
modules/neovim/blink-cmp.nix+2-1| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | { ... }: | |
| 1 | { lib, ... }: | |
| 2 | 2 | { |
| 3 | 3 | vim.autocomplete.blink-cmp = { |
| 4 | 4 | enable = true; |
| ... | ... | @@ -14,6 +14,7 @@ |
| 14 | 14 | setupOpts = { |
| 15 | 15 | keymap = { |
| 16 | 16 | preset = "super-tab"; |
| 17 | "<C-.>" = [ "show" ]; | |
| 17 | 18 | }; |
| 18 | 19 | completion = { |
| 19 | 20 | ghost_text.enabled = false; |
modules/neovim/default.nix+2| ... | ... | @@ -125,10 +125,12 @@ |
| 125 | 125 | enable_cursor_hijack = true; |
| 126 | 126 | git_status_async = true; |
| 127 | 127 | close_if_last_window = true; |
| 128 | window.width = 30; | |
| 128 | 129 | filesystem.filtered_items = { |
| 129 | 130 | # dotfiles are often used for project configuration |
| 130 | 131 | hide_dotfiles = false; |
| 131 | 132 | never_show = [ |
| 133 | ".git" | |
| 132 | 134 | ".DS_Store" # macOS |
| 133 | 135 | "thumbs.db" # Windows |
| 134 | 136 | ]; |
users/clover/home.nix-7| ... | ... | @@ -52,7 +52,6 @@ in |
| 52 | 52 | theme = "light:catppuccin-latte,dark:catppuccin-macchiato"; |
| 53 | 53 | font-family = "AT Name Mono"; |
| 54 | 54 | adjust-cursor-thickness = 1; |
| 55 | minimum-contrast = 1.1; | |
| 56 | 55 | background-opacity = 0.9; |
| 57 | 56 | background-blur = true; |
| 58 | 57 | }; |
| ... | ... | @@ -61,12 +60,6 @@ in |
| 61 | 60 | # zsh is the shell i use |
| 62 | 61 | zsh = { |
| 63 | 62 | enable = true; |
| 64 | enableCompletion = true; | |
| 65 | autosuggestion.enable = true; | |
| 66 | syntaxHighlighting.enable = true; | |
| 67 | ||
| 68 | history.size = 10000; | |
| 69 | ||
| 70 | 63 | shellAliases = { |
| 71 | 64 | switch = "nh darwin switch ~/config"; |
| 72 | 65 | gg = "lazygit"; |
users/natalie/home.nix+9-7| ... | ... | @@ -1,11 +1,5 @@ |
| 1 | { lib, host, ... }@args: | |
| 1 | 2 | { |
| 2 | pkgs, | |
| 3 | lib, | |
| 4 | options, | |
| 5 | ... | |
| 6 | }@args: | |
| 7 | { | |
| 8 | ||
| 9 | 3 | programs = { |
| 10 | 4 | # sort-lines:start |
| 11 | 5 | atuin.enable = true; |
| ... | ... | @@ -17,6 +11,14 @@ |
| 17 | 11 | lsd.enable = true; |
| 18 | 12 | android-sdk.enable = true; |
| 19 | 13 | # sort-lines:end |
| 14 | ||
| 15 | fish = { | |
| 16 | shellAliases = | |
| 17 | { } | |
| 18 | // lib.optionalAttrs (!host.darwin) { | |
| 19 | reboot-windows = "sudo efibootmgr --bootnext 0000; sudo reboot -h now"; | |
| 20 | }; | |
| 21 | }; | |
| 20 | 22 | }; |
| 21 | 23 | |
| 22 | 24 | home.packages = import ./packages.nix args; |