{ pkgs, config, ... }: let cgit-syntax-highlight = config.languages.rust.import ./. { }; in { delta.enable = true; languages.rust = { enable = true; components = [ "rustc" "rust-analyzer" "cargo" "rustfmt" "clippy" ]; }; packages = with pkgs; [ git ]; enterShell = '' cargo update ''; git-hooks.hooks = { rustfmt.enable = true; clippy.enable = true; }; outputs = { inherit cgit-syntax-highlight; }; }