{ inputs = { nixpkgs.url = "github:cachix/devenv-nixpkgs/rolling"; systems.url = "github:nix-systems/default"; devenv.url = "github:cachix/devenv"; devenv.inputs.nixpkgs.follows = "nixpkgs"; fenix.url = "github:nix-community/fenix"; fenix.inputs.nixpkgs.follows = "nixpkgs"; }; nixConfig = { extra-trusted-public-keys = "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="; extra-substituters = "https://devenv.cachix.org"; }; outputs = { self, nixpkgs, devenv, systems, ... }@inputs: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; }; in { devShells.${system}.default = devenv.lib.mkShell { inherit inputs pkgs; modules = [ { packages = with pkgs; [ openssl libxml2 ]; languages.rust = { enable = true; channel = "stable"; }; pre-commit.hooks = { rustfmt.enable = true; clippy.enable = true; }; } ]; }; }; }