big changes on neovim

This commit is contained in:
afoucaultc 2026-07-07 10:37:27 +02:00
parent cddb6edde7
commit 6d492f07ba
26 changed files with 242 additions and 291 deletions

View file

@ -1,6 +1,6 @@
{ pkgs, inputs, ... }:
{
programs.btop = {
enable = true;
};
programs.btop = {
enable = true;
};
}

View file

@ -1,8 +1,8 @@
{ pkgs, inputs, ... }:
{
programs.firefox = {
enable = true;
profiles.default = { };
};
stylix.targets.firefox.profileNames = [ "default" ];
programs.firefox = {
enable = true;
profiles.default = { };
};
stylix.targets.firefox.profileNames = [ "default" ];
}

View file

@ -1,10 +1,10 @@
{ pkgs, inputs, ... }:
{
programs.git = {
enable = true;
settings.user.name = "afoucaultc";
settings.user.email = "antoine.fo.ca@proton.me";
#userName = "afoucaultc";
#userEmail = "antoine.fo.ca@proton.me";
};
programs.git = {
enable = true;
settings.user.name = "afoucaultc";
settings.user.email = "antoine.fo.ca@proton.me";
#userName = "afoucaultc";
#userEmail = "antoine.fo.ca@proton.me";
};
}

View file

@ -3,14 +3,39 @@
home.packages = with pkgs; [
neovim-unwrapped
# outils dont lazy.nvim / les LSP ont besoin
ripgrep fd gcc gnumake nodejs unzip
lua-language-server stylua nil
(python3.withPackages (ps: with ps; [ pynvim ]))
ripgrep
fd
gcc
gnumake
nodejs
unzip
# formatters généraux
lua-language-server
stylua
nil
nixfmt-rfc-style # binaire "nixfmt" pour conform
# LSP serveurs (remplacent Mason)
marksman
pyright
# LSP que tu avais dans Mason — décommente selon besoin
clang-tools # clangd
bash-language-server # bashls
vscode-langservers-extracted # cssls, jsonls, html, eslint
typescript-language-server # ts_ls
vim-language-server # vimls
jdt-language-server # jdtls (Java)
# formatters / linters shell + python
shellcheck
shfmt
black
isort
# vimtex forward search + treesitter CLI
xdotool
tree-sitter
(python3.withPackages (ps: with ps; [ pynvim debugpy ]))
];
home.sessionVariables.EDITOR = "nvim";
home.shellAliases = { vi = "nvim"; vim = "nvim"; };
# ~/.config/nvim -> tes dotfiles, éditables en place
xdg.configFile."nvim".source =
config.lib.file.mkOutOfStoreSymlink

View file

@ -1,54 +1,57 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
# --- Infos système / divers ---
hyfetch # hyfetch
fastfetch # fastfetch
pkg-config
home.packages = with pkgs; [
# --- Infos système / divers ---
hyfetch # hyfetch
fastfetch # fastfetch
pkg-config
# --- Bureautique ---
libreoffice-fresh # libreoffice-fresh
zotero # zotero (AUR)
pandoc # pandoc-cli
# --- Bureautique ---
libreoffice-fresh # libreoffice-fresh
zotero # zotero (AUR)
pandoc # pandoc-cli
# --- Communication / mail ---
# thunderbird # thunderbird
signal-desktop # signal-desktop
mattermost-desktop # mattermost-desktop
protonmail-bridge # protonmail-bridge (CLI/bridge)
# --- Communication / mail ---
# thunderbird # thunderbird
signal-desktop # signal-desktop
mattermost-desktop # mattermost-desktop
protonmail-bridge # protonmail-bridge (CLI/bridge)
# --- Multimédia (léger) ---
gimp # gimp
inkscape # inkscape
nomacs # nomacs (AUR) — visionneuse d'images légère
imagemagick # imagemagick
librsvg # librsvg
# --- Multimédia (léger) ---
gimp # gimp
inkscape # inkscape
nomacs # nomacs (AUR) — visionneuse d'images légère
imagemagick # imagemagick
librsvg # librsvg
# --- Maths / sciences ---
(octave.withPackages (ps: with ps; [
image # octave-image
statistics # octave-statistics
symbolic # octave-symbolic
# dataframe # (octave-dataframe : indispo dans nixpkgs, à compiler via pkg si besoin)
]))
gnuplot # gnuplot
# --- Maths / sciences ---
(octave.withPackages (
ps: with ps; [
image # octave-image
statistics # octave-statistics
symbolic # octave-symbolic
# dataframe # (octave-dataframe : indispo dans nixpkgs, à compiler via pkg si besoin)
]
))
gnuplot # gnuplot
# --- Fichiers / bureau ---
nautilus # nautilus (gestionnaire léger)
nwg-look # nwg-look
papirus-icon-theme # papirus-icon-theme
brightnessctl # brightnessctl
mako # mako (notifications légères, remplace noctalia)
cliphist # cliphist
grim slurp # captures (grimblast côté script si besoin)
mullvad-vpn # GUI Mullvad (le service est côté système)
];
programs.gpg.enable = true;
# --- Fichiers / bureau ---
nautilus # nautilus (gestionnaire léger)
nwg-look # nwg-look
papirus-icon-theme # papirus-icon-theme
brightnessctl # brightnessctl
mako # mako (notifications légères, remplace noctalia)
cliphist # cliphist
grim
slurp # captures (grimblast côté script si besoin)
mullvad-vpn # GUI Mullvad (le service est côté système)
];
programs.gpg.enable = true;
services.gpg-agent = {
enable = true;
pinentry.package = pkgs.pinentry-curses;
};
services.gpg-agent = {
enable = true;
pinentry.package = pkgs.pinentry-curses;
};
services.protonmail-bridge.enable = true;
services.protonmail-bridge.enable = true;
}