Rust: config -> config.toml

This commit is contained in:
Filippo Berto 2024-05-20 21:40:05 +02:00
parent fbc936d604
commit 0a97316494
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -17,7 +17,7 @@ let tomlGenerate = (pkgs.formats.toml { }).generate; in
++ lib.optionals config.programs.helix.enable (builtins.attrValues { inherit (pkgs) lldb rust-analyzer; })
++ lib.optionals config.programs.kakoune.enable (builtins.attrValues { inherit (pkgs) rust-analyzer; });
home.file.".cargo/config".source = tomlGenerate "cargo-config" {
home.file.".cargo/config.toml".source = tomlGenerate "cargo-config" {
build.rustc-wrapper = "${pkgs.sccache}/bin/sccache";
};