feat(nvf): more ricing
This commit is contained in:
parent
214b8dea90
commit
c09c7cd6c0
9 changed files with 24 additions and 3 deletions
|
@ -11,6 +11,10 @@
|
||||||
screensaver.timeout = lib.pantheon.mkStrOption;
|
screensaver.timeout = lib.pantheon.mkStrOption;
|
||||||
screensaver.command = lib.pantheon.mkStrOption;
|
screensaver.command = lib.pantheon.mkStrOption;
|
||||||
editor = lib.pantheon.mkStrOption;
|
editor = lib.pantheon.mkStrOption;
|
||||||
|
nvf.snippets = lib.mkOption {
|
||||||
|
type = lib.types.listOf lib.types.attrs;
|
||||||
|
default = { };
|
||||||
|
};
|
||||||
file-browser = lib.pantheon.mkStrOption;
|
file-browser = lib.pantheon.mkStrOption;
|
||||||
multiplexer = lib.pantheon.mkStrOption;
|
multiplexer = lib.pantheon.mkStrOption;
|
||||||
fetch = lib.pantheon.mkStrOption;
|
fetch = lib.pantheon.mkStrOption;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.vim = {
|
settings.vim = {
|
||||||
hideSearchHighlight = true;
|
hideSearchHighlight = true;
|
||||||
|
searchCase = "ignore";
|
||||||
undoFile.enable = true;
|
undoFile.enable = true;
|
||||||
fzf-lua.enable = true;
|
fzf-lua.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
|
@ -20,9 +21,11 @@
|
||||||
keymaps = import ./keymaps.nix;
|
keymaps = import ./keymaps.nix;
|
||||||
languages = import ./languages.nix;
|
languages = import ./languages.nix;
|
||||||
lsp = import ./lsp.nix;
|
lsp = import ./lsp.nix;
|
||||||
|
navigation = import ./navigation.nix;
|
||||||
|
notes = import ./notes.nix;
|
||||||
options = import ./options.nix;
|
options = import ./options.nix;
|
||||||
notify = import ./notify.nix;
|
notify = import ./notify.nix;
|
||||||
|
snippets = import ./snippets.nix;
|
||||||
utility = import ./utility.nix;
|
utility = import ./utility.nix;
|
||||||
visuals = import ./visuals.nix;
|
visuals = import ./visuals.nix;
|
||||||
};
|
};
|
||||||
|
|
5
modules/home/cli/editor/nvf/navigation.nix
Normal file
5
modules/home/cli/editor/nvf/navigation.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
harpoon = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
3
modules/home/cli/editor/nvf/notes.nix
Normal file
3
modules/home/cli/editor/nvf/notes.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
todo-comments.enable = true;
|
||||||
|
}
|
|
@ -1,3 +1,2 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,5 +4,6 @@
|
||||||
expandtab = true;
|
expandtab = true;
|
||||||
tabstop = 2;
|
tabstop = 2;
|
||||||
shiftwidth = 2;
|
shiftwidth = 2;
|
||||||
|
updatetime = 0;
|
||||||
backspace = "indent,eol,start";
|
backspace = "indent,eol,start";
|
||||||
}
|
}
|
||||||
|
|
6
modules/home/cli/editor/nvf/snippets.nix
Normal file
6
modules/home/cli/editor/nvf/snippets.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
luasnip = {
|
||||||
|
enable = true;
|
||||||
|
setupOpts.enable_autosnippets = true;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
indent-blankline.enable = true;
|
indent-blankline.enable = true;
|
||||||
fidget-nvim.enable = true;
|
fidget-nvim.enable = true;
|
||||||
|
fidget-nvim.setupOpts.notification.override_vim_notify = true;
|
||||||
nvim-cursorline.enable = true;
|
nvim-cursorline.enable = true;
|
||||||
nvim-web-devicons.enable = true;
|
nvim-web-devicons.enable = true;
|
||||||
rainbow-delimiters.enable = true;
|
rainbow-delimiters.enable = true;
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config = lib.mkIf (config.hardware.gpu == "nvidia") {
|
config = lib.mkIf (config.hardware.gpu == "nvidia") {
|
||||||
#TODO: Setup CUDA
|
|
||||||
hardware.graphics.enable = true;
|
hardware.graphics.enable = true;
|
||||||
hardware.graphics.extraPackages = with pkgs; [
|
hardware.graphics.extraPackages = with pkgs; [
|
||||||
nvidia-vaapi-driver
|
nvidia-vaapi-driver
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue