{ description = "getchoo's neovim config"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; outputs = { self, nixpkgs, }: let systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; forSystem = system: fn: fn nixpkgs.legacyPackages.${system}; forAllSystems = fn: nixpkgs.lib.genAttrs systems (system: forSystem system fn); in { checks = forAllSystems (pkgs: import ./checks.nix {inherit pkgs self;}); devShells = forAllSystems (pkgs: { default = pkgs.mkShellNoCC { packages = with pkgs; [ actionlint # lua lua-language-server selene stylua # nix self.formatter.${pkgs.system} deadnix nil statix ]; }; }); formatter = forAllSystems (pkgs: pkgs.alejandra); packages = forAllSystems (pkgs: rec { getchvim = import ./neovim.nix self pkgs; default = getchvim; }); }; }