midnight.nvim/flake.nix
Barrett Ruth 26fb9ca518
Some checks are pending
Code Quality / changes (push) Waiting to run
Code Quality / Lua Format Check (push) Blocked by required conditions
Code Quality / Lua Lint Check (push) Blocked by required conditions
Code Quality / Lua Type Check (push) Blocked by required conditions
Code Quality / Markdown Format Check (push) Blocked by required conditions
ci: nix
2026-03-04 14:12:41 -05:00

33 lines
709 B
Nix

{
description = "midnight.nvim a dark colorscheme for Neovim";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
};
outputs =
{
nixpkgs,
systems,
...
}:
let
forEachSystem =
f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system});
in
{
formatter = forEachSystem (pkgs: pkgs.nixfmt-tree);
devShells = forEachSystem (pkgs: {
default = pkgs.mkShell {
packages = [
pkgs.prettier
pkgs.stylua
pkgs.selene
pkgs.lua-language-server
];
};
});
};
}