[vim] Tweak linters
This commit is contained in:
parent
6c1cdbe288
commit
85553a4a9c
4 changed files with 112 additions and 30 deletions
|
@ -57,12 +57,18 @@ in {
|
|||
inherit (config.system) stateVersion;
|
||||
|
||||
packages = (with pkgs; [
|
||||
chafa # Terminal image viewer
|
||||
cmdtime # Zsh plugin
|
||||
icosystem # Personal icon theme
|
||||
spotify-adblock
|
||||
]) ++ (with pkgs-unstable; [
|
||||
# logseq
|
||||
# obsidian
|
||||
|
||||
brave
|
||||
chafa # Terminal image viewer
|
||||
duf # Df alternative
|
||||
fzf
|
||||
glow # Terminal Markdown renderer
|
||||
icosystem # Personal icon theme
|
||||
jellyfin-media-player
|
||||
kitty
|
||||
libreoffice-fresh
|
||||
|
@ -83,15 +89,10 @@ in {
|
|||
|
||||
# SMB
|
||||
cifs-utils psmisc
|
||||
]) ++ (with pkgs-unstable; [
|
||||
brave
|
||||
mpv
|
||||
spotify
|
||||
]) ++ (with pkgs-unstable.vimPlugins; [
|
||||
# ale
|
||||
statix
|
||||
# vim-plug
|
||||
vifm-vim
|
||||
|
||||
# Linters and LSPs
|
||||
statix # Nix
|
||||
ruff pylint # Python
|
||||
]);
|
||||
|
||||
pointerCursor = {
|
||||
|
|
|
@ -9,7 +9,7 @@ in {
|
|||
home-manager.users.tdpeuter = lib.mkIf config.sisyphus.programs.home-manager.enable {
|
||||
home = {
|
||||
file = {
|
||||
".config/alacritty" = lib.mkIf (builtins.elem pkgs.alacritty installedPkgs) {
|
||||
".config/alacritty" = {
|
||||
source = ../../../stow/alacritty/.config/alacritty;
|
||||
};
|
||||
".config/dunst" = {
|
||||
|
@ -17,26 +17,21 @@ in {
|
|||
source = ../../../stow/dunst/.config/dunst;
|
||||
};
|
||||
".config/fuzzel" = {
|
||||
enable = builtins.elem pkgs.fuzzel installedPkgs;
|
||||
source = ../../../stow/fuzzel/.config/fuzzel;
|
||||
recursive = true;
|
||||
};
|
||||
".config/git" = {
|
||||
enable = (builtins.elem pkgs.git installedPkgs);
|
||||
source = ../../../stow/git/.config/git;
|
||||
recursive = true;
|
||||
};
|
||||
".config/kitty" = {
|
||||
enable = builtins.elem pkgs.kitty installedPkgs;
|
||||
source = ../../../stow/kitty/.config/kitty;
|
||||
recursive = true;
|
||||
};
|
||||
".config/mako" = {
|
||||
enable = builtins.elem pkgs.mako installedPkgs;
|
||||
source = ../../../stow/mako/.config/mako;
|
||||
};
|
||||
".config/mpv" = {
|
||||
enable = (builtins.elem pkgs-unstable.mpv installedPkgs);
|
||||
source = ../../../stow/mpv/.config/mpv;
|
||||
};
|
||||
".config/OpenRGB" = {
|
||||
|
@ -49,7 +44,7 @@ in {
|
|||
source = ../../../stow/sway/.config/sway;
|
||||
};
|
||||
".config/swayidle" = {
|
||||
enable = (builtins.elem pkgs.swayidle installedPkgs);
|
||||
enable = config.sisyphus.desktop.sway.enable;
|
||||
source = ../../../stow/swayidle/.config/swayidle;
|
||||
};
|
||||
".config/swaylock" = {
|
||||
|
@ -57,7 +52,6 @@ in {
|
|||
source = ../../../stow/swaylock/.config/swaylock;
|
||||
};
|
||||
".config/vifm" = {
|
||||
enable = (builtins.elem pkgs.vifm installedPkgs);
|
||||
source = ../../../stow/vifm/.config/vifm;
|
||||
recursive = true; # Fix history and all working
|
||||
};
|
||||
|
@ -66,32 +60,28 @@ in {
|
|||
source = ../../../stow/waybar/.config/waybar;
|
||||
};
|
||||
".config/zellij" = {
|
||||
enable = (builtins.elem pkgs.zellij installedPkgs);
|
||||
source = ../../../stow/zellij/.config/zellij;
|
||||
};
|
||||
".oh-my-zsh" = {
|
||||
enable = true;
|
||||
enable = (config.users.users.tdpeuter.shell == pkgs.zsh);
|
||||
source = "${pkgs.oh-my-zsh}/share/oh-my-zsh";
|
||||
recursive = true;
|
||||
};
|
||||
".oh-my-zsh/themes/tdpeuter.zsh-theme" = {
|
||||
enable = (builtins.elem pkgs.zsh installedPkgs);
|
||||
enable = (config.users.users.tdpeuter.shell == pkgs.zsh);
|
||||
source = ../../../stow/zsh/.oh-my-zsh/themes/tdpeuter.zsh-theme;
|
||||
};
|
||||
".ssh/config" = lib.mkIf config.sisyphus.programs.ssh.enable {
|
||||
source = ../../../stow/ssh/.ssh/config;
|
||||
};
|
||||
".vim" = {
|
||||
enable = (builtins.elem pkgs.vim-full installedPkgs);
|
||||
source = ../../../stow/vim/.vim;
|
||||
recursive = true;
|
||||
};
|
||||
".vim/autoload/plug.vim" = {
|
||||
enable = (builtins.elem pkgs.vim-full installedPkgs);
|
||||
source = "${pkgs.vimPlugins.vim-plug}/plug.vim";
|
||||
};
|
||||
".vimrc" = {
|
||||
enable = (builtins.elem pkgs.vim-full installedPkgs);
|
||||
source = ../../../stow/vim/.vimrc;
|
||||
};
|
||||
".zshrc" = {
|
||||
|
@ -99,15 +89,15 @@ in {
|
|||
source = ../../../stow/zsh/.zshrc;
|
||||
};
|
||||
".zsh/plugins/cmdtime/cmdtime.plugin.zsh" = {
|
||||
enable = (builtins.elem pkgs.cmdtime installedPkgs);
|
||||
enable = (config.users.users.tdpeuter.shell == pkgs.zsh);
|
||||
source = "${pkgs.cmdtime}/share/cmdtime/cmdtime.plugin.zsh";
|
||||
};
|
||||
".zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" = {
|
||||
enable = (builtins.elem pkgs.zsh-autosuggestions installedPkgs);
|
||||
enable = (config.users.users.tdpeuter.shell == pkgs.zsh);
|
||||
source = "${pkgs.zsh-autosuggestions}/share/zsh-autosuggestions/zsh-autosuggestions.zsh";
|
||||
};
|
||||
".zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" = {
|
||||
enable = (builtins.elem pkgs.zsh-syntax-highlighting installedPkgs);
|
||||
enable = (config.users.users.tdpeuter.shell == pkgs.zsh);
|
||||
source = "${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue