about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2024-02-05 12:53:07 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2024-02-26 16:33:20 +0700
commit21787993b7fa0ce24553839d5f19db1d14591d93 (patch)
treebb900a77531a093eaacb17b0c935cc279775da2d
parent62257f0b30bd58090429a7925adddb4a140995bd (diff)
downloadblog-21787993b7fa0ce24553839d5f19db1d14591d93.tar.gz
Add shell.nix
-rw-r--r--.gitmodules10
-rw-r--r--shell.nix13
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
+  ]);
+}
+