dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
modules/apps/latex.nix (443B)
1## LaTeX Configuration ##
2{config, ...}: let
3 inherit (config) util;
4in {
5 flake.modules = {
6 nixos.latex = {pkgs, ...}: {
7 environment.systemPackages = with pkgs; [
8 texliveFull
9 setzer
10 ];
11 };
12
13 homeManager.latex = _: {
14 home.persist.directories = [".config/setzer"];
15 xdg.mimeApps.defaultApplications = util.build.mime {
16 latex = ["org.cvfosammmm.Setzer.desktop"];
17 };
18 };
19 };
20}