diff options
author | Leonardo Santiago <[email protected]> | 2024-05-29 08:44:12 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2024-05-29 08:44:12 -0300 |
commit | 31bc6a2f54d86a4978be063f5e614881c625c597 (patch) | |
tree | 5e79ef2c765b395d4e4a74ff45a7af09eee0d38c /flake.nix |
new blog using hugo again
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..5a0a226 --- /dev/null +++ b/flake.nix @@ -0,0 +1,28 @@ +{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, flake-utils, nixpkgs }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { inherit system; }; + in { + devShells.default = pkgs.mkShell { + buildInputs = with pkgs;[ + hugo + (python3.withPackages (p: [ + p.pillow + ])) + (texlive.combine { + inherit (texlive) scheme-basic wrapfig etoolbox xcolor + enumitem supertabular titlesec multirow parskip + biblatex fontawesome fontawesome5 + ; + }) + ]; + }; + } + ); +} |