mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-21 17:59:39 +01:00
17 lines
390 B
Nix
17 lines
390 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
config = {
|
|
programs.tex-fmt = {
|
|
enable = true;
|
|
};
|
|
|
|
nmt.script =
|
|
let
|
|
expectedConfDir = if pkgs.stdenv.isDarwin then "Library/Application Support" else ".config";
|
|
expectedConfigPath = "home-files/${expectedConfDir}/tex-fmt/tex-fmt.toml";
|
|
in
|
|
''
|
|
assertPathNotExists "${expectedConfigPath}"
|
|
'';
|
|
};
|
|
}
|