{ description = "NixOS configuration"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/master"; rust-overlay.url = "github:oxalica/rust-overlay"; }; outputs = { nixpkgs, rust-overlay, ... }: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; overlays = [ rust-overlay.overlays.default ]; }; in { devShells.${system}.default = pkgs.mkShell.override { stdenv = pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv; } { packages = with pkgs; [ rust-bin.stable.latest.default bacon ]; }; }; }