authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-04-30 12:37:35-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-04-30 12:37:35-07:00
loge9844c71c462397a4c9042ae064b13385b761e45
treeadd73eb37c12cd07267ebef991a8fc0ac881ffac
parentb103004218ddf9c510ccd29e6244c890545b9006
signature Commit is signed but in an unrecognized format.

disabled nixvim for now


8 files changed, 38 insertions(+), 6 deletions(-)

hosts/desktop/configuration.nix+2-1
......@@ -133,8 +133,9 @@
133133 # services.xserver.libinput.enable = true;
134134
135135 # Define a user account. Don't forget to set a password with ‘passwd’.
136 users.defaultUserShell = pkgs.fish;
136 # users.defaultUserShell = pkgs.fish;
137137 users.users.${userSettings.username} = {
138 shell = pkgs.fish;
138139 isNormalUser = true;
139140 description = "Natalie Marks";
140141 extraGroups = ["networkmanager" "wheel" "docker"];
hosts/desktop/home.nix+1-1
......@@ -12,7 +12,7 @@ in {
1212 imports = [
1313 inputs.nixvim.homeManagerModules.nixvim
1414 #set up nixvim
15 ../../modules/nixvim
15 # ../../modules/nixvim
1616 ];
1717 home = {
1818 stateVersion = "23.05"; # Please read the comment before changing.
hosts/laptop/home.nix+1-1
......@@ -10,7 +10,7 @@
1010 imports = [
1111 inputs.nixvim.homeManagerModules.nixvim
1212 #set up nixvim
13 ../../modules/nixvim
13 # ../../modules/nixvim
1414 ];
1515 programs = import ../../modules/shared/homeManagerPrograms.nix {inherit inputs config pkgs lib userSettings systemSettings;};
1616
modules/nixvim/plugins/blink.nix+30-1
......@@ -25,7 +25,13 @@
2525 settings = {
2626 keymap.preset = "super-tab";
2727 completion = {
28 ghost_test.enabled = true;
28 accept.auto_brackets.enabled = false;
29 ghost_test.enabled = false;
30
31 list.selection = {
32 preselect = true;
33 auto_insert = false;
34 };
2935
3036 documentation = {
3137 auto_show = true;
......@@ -33,6 +39,29 @@
3339 window.border = "rounded";
3440 };
3541 };
42
43 menu.draw.components = {
44 kind_icon.text.__raw = ''
45 function(ctx)
46 local kind_icon, _, _ = require('mini.icons').get('lsp', ctx.kind)
47 -- Check for both nil and the default fallback icon
48 if not kind_icon or kind_icon == '󰞋' then
49 -- Use our configured kind_icons
50 return require('blink.cmp.config').appearance.kind_icons[ctx.kind] or ""
51 end
52 return kind_icon
53 end,
54 -- Optionally, you may also use the highlights from mini.icons
55 highlight = function(ctx)
56 local _, hl, _ = require('mini.icons').get('lsp', ctx.kind)
57 return hl
58 end
59 '';
60 };
61 };
62
63 fuzzy = {
64 implementation = "prefer_rust_with_warning";
3665 };
3766 };
3867 };
modules/nixvim/plugins/default.nix+1
......@@ -1,5 +1,6 @@
11{pkgs, ...}: {
22 imports = [
33 ./blink.nix
4 ./lz-n.nix
45 ];
56}
modules/nixvim/plugins/lz-n.nix+1-1
......@@ -1,5 +1,5 @@
11{pkgs, ...}: {
2 programs.nixvim.programs = {
2 programs.nixvim.plugins = {
33 lz-n = {
44 enable = true;
55 };
modules/shared/homeManagerPrograms.nix+1-1
......@@ -59,9 +59,9 @@
5959 reboot-windows = "sudo efibootmgr --bootnext 0000; sudo reboot -h now";
6060 };
6161 shellInit = ''
62 test -r '/Users/${userSettings.username}/.opam/opam-init/init.fish' && source '/Users/${userSettings.username}/.opam/opam-init/init.fish' > /dev/null 2> /dev/null; or true
6362 batman --export-env | source
6463 '';
64 ##test -r '/Users/${userSettings.username}/.opam/opam-init/init.fish' && source '/Users/${userSettings.username}/.opam/opam-init/init.fish' > /dev/null 2> /dev/null; or true
6565 };
6666 home-manager.enable = true;
6767}
modules/shared/packages.nix+1
......@@ -109,6 +109,7 @@ with pkgs; [
109109
110110 #math
111111 texlive.combined.scheme-full
112 zathura
112113
113114 #fun things
114115 cowsay