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,6 +1,19 @@
{ pkgs, config, lib, ... }: {
{ pkgs
, config
, lib
, ...
}:
{
home.packages =
(builtins.attrValues { inherit (pkgs) nixpkgs-fmt nixfmt-classic nix-prefetch-scripts nixpkgs-review nix-tree; })
(builtins.attrValues {
inherit (pkgs)
nixpkgs-fmt
nixfmt-classic
nix-prefetch-scripts
nixpkgs-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 ];