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,26 @@
{ pkgs, config, lib, ... }: {
home.packages = [ pkgs.bibtool pkgs.texlive.combined.scheme-full ]
{ pkgs
, config
, lib
, ...
}:
{
home.packages =
[
pkgs.bibtool
pkgs.texlive.combined.scheme-full
]
++ 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;
});
++ lib.optionals config.programs.kakoune.enable (
builtins.attrValues {
inherit (pkgs) texlab aspell;
inherit (pkgs.aspellDicts)
en
en-computers
en-science
it
;
}
);
home.file.".latexmkrc".text = ''
$pdf_previewer = 'zathura %O %S';