From 21787993b7fa0ce24553839d5f19db1d14591d93 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Mon, 5 Feb 2024 12:53:07 +0700 Subject: Add shell.nix --- .gitmodules | 10 +++++----- shell.nix | 13 +++++++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 shell.nix diff --git a/.gitmodules b/.gitmodules index 5406c47..928f98c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,7 @@ -# [submodule "themes/anibus"] -# path = themes/anibus -# url = https://git.sr.ht/~huyngo/hugo-anubis-fork -# branch = custom +[submodule "themes/anibus"] + path = themes/anibus + url = https://git.sr.ht/~huyngo/hugo-anubis-fork + branch = custom [submodule "themes/victor"] path = themes/victor - url = /var/lib/git/~xarvos/victor + url = https://trong.loang.net/~xarvos/victor diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..f2dff6d --- /dev/null +++ b/shell.nix @@ -0,0 +1,13 @@ +# SPDX-FileCopyrightText: 2024 Ngô Ngọc Đức Huy +# +# SPDX-License-Identifier: CC-BY-SA-4.0 + +{pkgs ? import {} +}: +pkgs.mkShell { + name="build-env"; + buildInputs = with pkgs; [ + hugo rsync mdbook + ]); +} + -- cgit 1.4.1