init start of the semestralka
This commit is contained in:
28
flake.nix
Normal file
28
flake.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user