Switch to nixpkgs-fmt formatter
This commit is contained in:
parent
36f6903639
commit
ca59cb8f3c
45 changed files with 695 additions and 606 deletions
|
|
@ -1,8 +1,9 @@
|
|||
{ pkgs, config, lib, ... }: {
|
||||
home.packages =
|
||||
lib.optionals config.programs.helix.enable builtins.attrValues {
|
||||
inherit (pkgs) clang-tools cmake-language-server;
|
||||
} ++ lib.optionals config.programs.kakoune.enable builtins.attrValues {
|
||||
lib.optionals config.programs.helix.enable builtins.attrValues
|
||||
{
|
||||
inherit (pkgs) clang-tools cmake-language-server;
|
||||
} ++ lib.optionals config.programs.kakoune.enable builtins.attrValues {
|
||||
inherit (pkgs) clang-tools cmake-language-server;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
{ config, pkgs, lib, ... }: {
|
||||
home.packages =
|
||||
lib.optionals config.programs.helix.enable builtins.attrValues {
|
||||
inherit (pkgs) yaml-language-server taplo-cli;
|
||||
inherit (pkgs.nodePackages) vscode-langservers-extracted;
|
||||
} ++ lib.optionals config.programs.kakoune.enable builtins.attrValues {
|
||||
lib.optionals config.programs.helix.enable builtins.attrValues
|
||||
{
|
||||
inherit (pkgs) yaml-language-server taplo-cli;
|
||||
inherit (pkgs.nodePackages) vscode-langservers-extracted;
|
||||
} ++ lib.optionals config.programs.kakoune.enable builtins.attrValues {
|
||||
inherit (pkgs) yaml-language-server;
|
||||
inherit (pkgs.nodePackages) vscode-langservers-extracted;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
home.packages =
|
||||
lib.optionals config.programs.helix.enable builtins.attrValues {
|
||||
inherit (pkgs.nodePackages) typescript-language-server;
|
||||
} ++ lib.optionals config.programs.kakoune.enable builtins.attrValues {
|
||||
lib.optionals config.programs.helix.enable builtins.attrValues
|
||||
{
|
||||
inherit (pkgs.nodePackages) typescript-language-server;
|
||||
} ++ lib.optionals config.programs.kakoune.enable builtins.attrValues {
|
||||
inherit (pkgs.nodePackages) typescript-language-server;
|
||||
};
|
||||
programs.neovim.withNodeJs = true;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
home.packages = [ pkgs.bibtool pkgs.texlive.combined.scheme-medium ]
|
||||
++ lib.optionals config.programs.helix.enable [ pkgs.texlab ]
|
||||
++ lib.optionals config.programs.kakoune.enable (builtins.attrValues {
|
||||
inherit (pkgs) texlab aspell;
|
||||
inherit (pkgs.aspellDicts) en en-computers en-science it;
|
||||
});
|
||||
inherit (pkgs) texlab aspell;
|
||||
inherit (pkgs.aspellDicts) en en-computers en-science it;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
{ pkgs, config, lib, ... }: {
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs) nixpkgs-fmt nixfmt nix-prefetch-scripts nix-review nix-tree;
|
||||
} ++ lib.optionals config.programs.helix.enable [ pkgs.nil ]
|
||||
++ lib.optionals config.programs.kakoune.enable [ pkgs.rnix-lsp ];
|
||||
home.packages = builtins.attrValues
|
||||
{
|
||||
inherit (pkgs) nixpkgs-fmt nixfmt nix-prefetch-scripts nix-review nix-tree;
|
||||
} ++ lib.optionals config.programs.helix.enable [ pkgs.nil ]
|
||||
++ lib.optionals config.programs.kakoune.enable [ pkgs.rnix-lsp ];
|
||||
programs.neovim.plugins = [ pkgs.vimPlugins.vim-nix ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
home.packages = [ pkgs.black ]
|
||||
++ lib.optionals config.programs.helix.enable builtins.attrValues {
|
||||
inherit (pkgs.python3Packages) python-lsp-server pyls-flake8 pyls-isort;
|
||||
} ++ lib.optionals config.programs.kakoune.enable builtins.attrValues {
|
||||
inherit (pkgs.python3Packages) python-lsp-server pyls-flake8 pyls-isort;
|
||||
};
|
||||
inherit (pkgs.python3Packages) python-lsp-server pyls-flake8 pyls-isort;
|
||||
} ++ lib.optionals config.programs.kakoune.enable builtins.attrValues {
|
||||
inherit (pkgs.python3Packages) python-lsp-server pyls-flake8 pyls-isort;
|
||||
};
|
||||
programs.neovim.withPython3 = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,19 +1,20 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
bacon cargo cargo-audit cargo-criterion cargo-deadlinks cargo-expand
|
||||
cargo-flamegraph cargo-fuzz cargo-hack cargo-hakari cargo-inspect
|
||||
cargo-modules cargo-outdated cargo-profiler cargo-release cargo-show-asm
|
||||
cargo-spellcheck cargo-tarpaulin cargo-udeps cargo-watch cargo-workspaces
|
||||
clippy rustc rustfmt;
|
||||
# cargo-about
|
||||
# cargo-auditable
|
||||
# cargo-deny
|
||||
# cargo-deps
|
||||
# cargo-feature
|
||||
home.packages = builtins.attrValues
|
||||
{
|
||||
inherit (pkgs)
|
||||
bacon cargo cargo-audit cargo-criterion cargo-deadlinks cargo-expand
|
||||
cargo-flamegraph cargo-fuzz cargo-hack cargo-hakari cargo-inspect
|
||||
cargo-modules cargo-outdated cargo-profiler cargo-release cargo-show-asm
|
||||
cargo-spellcheck cargo-tarpaulin cargo-udeps cargo-watch cargo-workspaces
|
||||
clippy rustc rustfmt;
|
||||
# cargo-about
|
||||
# cargo-auditable
|
||||
# cargo-deny
|
||||
# cargo-deps
|
||||
# cargo-feature
|
||||
|
||||
} ++ lib.optionals config.programs.helix.enable
|
||||
} ++ lib.optionals config.programs.helix.enable
|
||||
(builtins.attrValues { inherit (pkgs) lldb rust-analyzer; })
|
||||
++ lib.optionals config.programs.kakoune.enable
|
||||
++ lib.optionals config.programs.kakoune.enable
|
||||
(builtins.attrValues { inherit (pkgs) rust-analyzer; });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue