CHANGE neovim integration to neovim.nix module

ADD Nextcloud desktop config
main
Alexandre LUCAZEAU 2023-07-12 10:48:10 +02:00
parent 668876dbb2
commit 823553a440
6 changed files with 20 additions and 20 deletions

View File

@ -33,8 +33,8 @@
shellAliases = {
ll = "ls -l";
ls = "lsd";
vi = "nvim";
vim = "nvim";
#vi = "nvim";
#vim = "nvim";
cat = "bat";
sysrs = "sudo nixos-rebuild switch";
sysup = "sudo nixos-rebuild switch --upgrade";

View File

@ -12,7 +12,7 @@
./bat.nix
./kdeconnect.nix
# ./redshift.nix
# ../../../modules/neovim.nix
../../../modules/neovim.nix
../../../modules/rust.nix
../../../modules/tmux.nix
];

View File

@ -45,7 +45,6 @@
exa
bat
vimPlugins.vim-markdown-composer
neovim
python3
mtr
powertop

View File

@ -1,6 +1,6 @@
{ config, pkgs, ...}:
{
environment.variables.EDITOR = "nvim";
#environment.variables.EDITOR = "nvim";
environment.systemPackages = with pkgs; [
gitAndTools.gitFull
unzip
@ -8,7 +8,7 @@
tmux
lshw
bc
neovim
#neovim
ncdu
nixos-option
bat

View File

@ -1,14 +1,15 @@
{ lib, config, pkgs, ... }:
let
# […]
nix-nvim = builtins.fetchGit {
# url = "https://git.atlanticaweb.fr/alexandre/nix-nvim.git";
# ref = "main";
# rev = "fc0cf4d36b3872f80a931ed05993f2d5755b26da";
url = "https://framagit.org/vegaelle/nix-nvim.git";
ref = "main";
{ pkgs, ... }: {
programs.neovim = {
enable = true ;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
plugins = with pkgs.vimPlugins;[
nvim-lspconfig
nvim-treesitter.withAllGrammars
plenary-nvim
gruvbox-material
mini-nvim
];
};
in
{
imports = [ (import "${nix-nvim}") ];
}

View File

@ -28,8 +28,8 @@
programs.fish.shellAliases = {
ll = "ls -l";
ls = "lsd";
vi = "nvim";
vim = "nvim";
# vi = "nvim";
# vim = "nvim";
};
security.sudo = {
enable = true;