nix/modules/home-manager/cargo.nix

14 lines
273 B
Nix
Raw Normal View History

{config, ...}: {
2024-06-10 09:56:13 -05:00
home.file."${config.home.homeDirectory}/.cargo/config.toml" = {
enable = true;
text = ''
[build]
rustdocflags = ["--default-theme=ayu"];
'';
};
2024-06-10 09:56:13 -05:00
# home.sessionVariables = {
# RUSTDOCFLAGS = "--default-theme=ayu";
# };
}