Nix fmt rfc style (more or less)

This commit is contained in:
Filippo Berto 2024-08-13 12:22:23 +02:00
parent e7496c447a
commit 515f098644
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
146 changed files with 2607 additions and 906 deletions

View file

@ -1,10 +1,21 @@
{ 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 {
inherit (pkgs) yaml-language-server;
inherit (pkgs.nodePackages) vscode-langservers-extracted;
});
{ 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 {
inherit (pkgs) yaml-language-server;
inherit (pkgs.nodePackages) vscode-langservers-extracted;
}
);
}