Files
nix-config/modules/programs/development-tools/rust.nix
Weckyy702 e34b5ecce3 Update to (somewhat?) dendritic pattern
Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts.

> Atomic commits? Never heard of them!
2026-03-15 15:04:47 +01:00

19 lines
381 B
Nix

{ inputs, ... }: {
flake-file.inputs = {
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
};
flake.modules.nixos.rust = { pkgs, ... }: {
nixpkgs.overlays = [
inputs.rust-overlay.overlays.default
];
environment.systemPackages = with pkgs; [
rust-bin.stable.latest.default
];
};
}