Initial commit

This commit is contained in:
NIT_Report
2025-07-10 10:23:35 +09:00
commit e2d2e70dfb
51 changed files with 2210 additions and 0 deletions

45
flake.nix Normal file
View File

@@ -0,0 +1,45 @@
{
description = "Nix flake for NIT LaTeX Report Env";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
eskk-vim = {
url = "github:vim-skk/eskk.vim";
flake = false;
};
};
outputs = inputs@{ self, flake-utils, nixpkgs, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
config = {};
overlays = import ./nix/overlay.nix { inherit (inputs)eskk-vim; };
};
lualibs = with pkgs.lua53Packages; [
lyaml
];
myvim = import ./nix/vim.nix { inherit pkgs; };
mytexlive = import ./nix/latex.nix { inherit pkgs; };
in
{
devShells.default = pkgs.stdenv.mkDerivation {
name = "LaTeX Environment";
shellHook = ''
export PS1="NIT Report \w \$ "
'';
nativeBuildInputs = [
mytexlive
myvim
pkgs.gnumake
pkgs.jq
pkgs.pandoc
pkgs.qpdf
pkgs.mermaid-cli
] ++ lualibs;
};
}
);
}