CHANGE neovim integration to neovim.nix module

ADD Nextcloud desktop config
This commit is contained in:
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 = { shellAliases = {
ll = "ls -l"; ll = "ls -l";
ls = "lsd"; ls = "lsd";
vi = "nvim"; #vi = "nvim";
vim = "nvim"; #vim = "nvim";
cat = "bat"; cat = "bat";
sysrs = "sudo nixos-rebuild switch"; sysrs = "sudo nixos-rebuild switch";
sysup = "sudo nixos-rebuild switch --upgrade"; sysup = "sudo nixos-rebuild switch --upgrade";

View File

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

View File

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

View File

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

View File

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

View File

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