Files
nixos-config/home/programs/nixvim/default.nix
Elias Schröter e0fb822650 theme collect & kitty & wallpaper & yazi
Collect all catppuccin theme settings together, set wallpaper using
wpapderd, change console to kitty and install yazi
2026-03-18 11:25:55 +01:00

62 lines
1.3 KiB
Nix

{ inputs, pkgs, ... }:
{
imports = [
inputs.nixvim.homeModules.nixvim
./plugins
];
home.sessionVariables = {
EDITOR = "nvim";
};
programs.nixvim = {
enable = true;
defaultEditor = true;
nixpkgs.useGlobalPackages = false;
clipboard = {
providers = {
wl-copy.enable = true;
};
};
viAlias = true;
vimAlias = true;
lualoader.enable = true;
extraPackages = with pkgs; [
texliveFull
texlivePackages.standalone
texlivePackages.relsize # needed for BA
# papis-nvim
];
extraConfigVim = ''
filetype plugin on
set nocompatible
syntax on
'';
globals = {
mapleader = " ";
maplocalleader = ",";
};
opts = {
cursorline = true; # Enable highlighting of the current line
expandtab = true; # Use spaces instead of tabs
list = true; # Show some invisible characters (tabs...)
mouse = "a"; # Enable mouse mode
number = true; # Print line number
relativenumber = true; # Relative line numbers
shiftround = true; # Round indent
shiftwidth = 2; # Size of an indent
smartindent = true; # Insert indents automatically
spelllang = [ "en" ];
tabstop = 2; # Number of spaces tabs count for
};
};
}