{ inputs, ... }: { imports = [ (inputs.git-hooks + /flake-module.nix) ]; perSystem = { config, pkgs, ... }: { devShells.default = pkgs.mkShell rec { name = "nixvim"; meta.description = "Dev environment for nixvim configuration"; inputsFrom = [ config.pre-commit.devShell ]; packages = with pkgs; [ nil nix-output-monitor nixfmt-rfc-style ]; shellHook = '' echo 1>&2 "🐼: $(id -un) | 🧬: $(nix eval --raw --impure --expr 'builtins.currentSystem') | 🐧: $(uname -r) " echo 1>&2 "Ready to work on ${name}!" ''; }; pre-commit.settings = { hooks.nixfmt-rfc-style.enable = true; }; }; }