nix/modules/home-manager/cargo.nix

14 lines
272 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]
2024-06-13 18:46:46 -05:00
rustdocflags = ["--default-theme=ayu"]
'';
};
2024-06-10 09:56:13 -05:00
# home.sessionVariables = {
# RUSTDOCFLAGS = "--default-theme=ayu";
# };
}