init start of the semestralka

This commit is contained in:
Priec
2026-04-27 00:06:55 +02:00
commit c9829ca554
6 changed files with 716 additions and 0 deletions

28
flake.nix Normal file
View File

@@ -0,0 +1,28 @@
{
description = "Full TeX Live environment with Helix support";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system}.default = pkgs.mkShellNoCC {
packages = [
pkgs.texliveFull
pkgs.texlab # LSP for Helix
pkgs.bibtool
pkgs.zathura # PDF viewer
];
shellHook = ''
echo "TeX Live Full environment loaded with LSP support"
lualatex --version | head -n 1
'';
};
};
}