diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-02-05 12:53:07 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-02-26 16:33:20 +0700 |
commit | 21787993b7fa0ce24553839d5f19db1d14591d93 (patch) | |
tree | bb900a77531a093eaacb17b0c935cc279775da2d | |
parent | 62257f0b30bd58090429a7925adddb4a140995bd (diff) | |
download | blog-21787993b7fa0ce24553839d5f19db1d14591d93.tar.gz |
Add shell.nix
-rw-r--r-- | .gitmodules | 10 | ||||
-rw-r--r-- | shell.nix | 13 |
2 files changed, 18 insertions, 5 deletions
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 <huyngo@disroot.org> +# +# SPDX-License-Identifier: CC-BY-SA-4.0 + +{pkgs ? import <nixpkgs> {} +}: +pkgs.mkShell { + name="build-env"; + buildInputs = with pkgs; [ + hugo rsync mdbook + ]); +} + |