disabled nixvim for now
This commit is contained in:
parent
b103004218
commit
e9844c71c4
8 changed files with 38 additions and 6 deletions
|
@ -133,8 +133,9 @@
|
||||||
# services.xserver.libinput.enable = true;
|
# services.xserver.libinput.enable = true;
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.defaultUserShell = pkgs.fish;
|
# users.defaultUserShell = pkgs.fish;
|
||||||
users.users.${userSettings.username} = {
|
users.users.${userSettings.username} = {
|
||||||
|
shell = pkgs.fish;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Natalie Marks";
|
description = "Natalie Marks";
|
||||||
extraGroups = ["networkmanager" "wheel" "docker"];
|
extraGroups = ["networkmanager" "wheel" "docker"];
|
||||||
|
|
|
@ -12,7 +12,7 @@ in {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nixvim.homeManagerModules.nixvim
|
inputs.nixvim.homeManagerModules.nixvim
|
||||||
#set up nixvim
|
#set up nixvim
|
||||||
../../modules/nixvim
|
# ../../modules/nixvim
|
||||||
];
|
];
|
||||||
home = {
|
home = {
|
||||||
stateVersion = "23.05"; # Please read the comment before changing.
|
stateVersion = "23.05"; # Please read the comment before changing.
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nixvim.homeManagerModules.nixvim
|
inputs.nixvim.homeManagerModules.nixvim
|
||||||
#set up nixvim
|
#set up nixvim
|
||||||
../../modules/nixvim
|
# ../../modules/nixvim
|
||||||
];
|
];
|
||||||
programs = import ../../modules/shared/homeManagerPrograms.nix {inherit inputs config pkgs lib userSettings systemSettings;};
|
programs = import ../../modules/shared/homeManagerPrograms.nix {inherit inputs config pkgs lib userSettings systemSettings;};
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,13 @@
|
||||||
settings = {
|
settings = {
|
||||||
keymap.preset = "super-tab";
|
keymap.preset = "super-tab";
|
||||||
completion = {
|
completion = {
|
||||||
ghost_test.enabled = true;
|
accept.auto_brackets.enabled = false;
|
||||||
|
ghost_test.enabled = false;
|
||||||
|
|
||||||
|
list.selection = {
|
||||||
|
preselect = true;
|
||||||
|
auto_insert = false;
|
||||||
|
};
|
||||||
|
|
||||||
documentation = {
|
documentation = {
|
||||||
auto_show = true;
|
auto_show = true;
|
||||||
|
@ -33,6 +39,29 @@
|
||||||
window.border = "rounded";
|
window.border = "rounded";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
menu.draw.components = {
|
||||||
|
kind_icon.text.__raw = ''
|
||||||
|
function(ctx)
|
||||||
|
local kind_icon, _, _ = require('mini.icons').get('lsp', ctx.kind)
|
||||||
|
-- Check for both nil and the default fallback icon
|
||||||
|
if not kind_icon or kind_icon == '' then
|
||||||
|
-- Use our configured kind_icons
|
||||||
|
return require('blink.cmp.config').appearance.kind_icons[ctx.kind] or ""
|
||||||
|
end
|
||||||
|
return kind_icon
|
||||||
|
end,
|
||||||
|
-- Optionally, you may also use the highlights from mini.icons
|
||||||
|
highlight = function(ctx)
|
||||||
|
local _, hl, _ = require('mini.icons').get('lsp', ctx.kind)
|
||||||
|
return hl
|
||||||
|
end
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fuzzy = {
|
||||||
|
implementation = "prefer_rust_with_warning";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./blink.nix
|
./blink.nix
|
||||||
|
./lz-n.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
programs.nixvim.programs = {
|
programs.nixvim.plugins = {
|
||||||
lz-n = {
|
lz-n = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -59,9 +59,9 @@
|
||||||
reboot-windows = "sudo efibootmgr --bootnext 0000; sudo reboot -h now";
|
reboot-windows = "sudo efibootmgr --bootnext 0000; sudo reboot -h now";
|
||||||
};
|
};
|
||||||
shellInit = ''
|
shellInit = ''
|
||||||
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
|
|
||||||
batman --export-env | source
|
batman --export-env | source
|
||||||
'';
|
'';
|
||||||
|
##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
|
||||||
};
|
};
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,6 +109,7 @@ with pkgs; [
|
||||||
|
|
||||||
#math
|
#math
|
||||||
texlive.combined.scheme-full
|
texlive.combined.scheme-full
|
||||||
|
zathura
|
||||||
|
|
||||||
#fun things
|
#fun things
|
||||||
cowsay
|
cowsay
|
||||||
|
|
Loading…
Reference in a new issue