From 280e1bbe5e733128a451260685cc8ecd10a042a3 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 17 Oct 2026 21:53:43 +1300 Subject: feat: Dendritic pattern This re-write was done with the help of claude, and still needs a decent amount of changes before it properly follows the dendritic pattern --- modules/website/default.nix | 20 ++++++++++++++++++++ modules/website/src/index.html | 4 ++++ modules/website/src/other-page.html | 4 ++++ 3 files changed, 28 insertions(+) create mode 100644 modules/website/default.nix create mode 100644 modules/website/src/index.html create mode 100644 modules/website/src/other-page.html (limited to 'modules/website') diff --git a/modules/website/default.nix b/modules/website/default.nix new file mode 100644 index 0000000..8fc2477 --- /dev/null +++ b/modules/website/default.nix @@ -0,0 +1,20 @@ +{ + perSystem = + { pkgs, ... }: + { + packages.teh-website = pkgs.callPackage ( + { stdenv, ... }: + stdenv.mkDerivation { + pname = "TehWebsite"; + version = "0.0.1"; + + src = ./src; + + installPhase = '' +mkdir -p $out/srv/www +cp -r ./* $out/srv/www +''; + } + ) { }; + }; +} diff --git a/modules/website/src/index.html b/modules/website/src/index.html new file mode 100644 index 0000000..a28d898 --- /dev/null +++ b/modules/website/src/index.html @@ -0,0 +1,4 @@ + +

Test

+Other page +

This websit was built and uploaded and hosted on my server using nix!!!

diff --git a/modules/website/src/other-page.html b/modules/website/src/other-page.html new file mode 100644 index 0000000..cbd5c8b --- /dev/null +++ b/modules/website/src/other-page.html @@ -0,0 +1,4 @@ + +

Other page

+Home +

Multipage test

-- cgit v1.3.1