nix/modules/home-manager/cargo.nix

14 lines
272 B
Nix

{config, ...}: {
home.file."${config.home.homeDirectory}/.cargo/config.toml" = {
enable = true;
text = ''
[build]
rustdocflags = ["--default-theme=ayu"]
'';
};
# home.sessionVariables = {
# RUSTDOCFLAGS = "--default-theme=ayu";
# };
}