diff options
| author | Dylan <boss@tehbox.org> | 2025-09-19 11:08:56 +1200 |
|---|---|---|
| committer | Dylan <boss@tehbox.org> | 2025-09-19 11:08:56 +1200 |
| commit | 920ccb1300240961f7559d68e8f9b11a81eb90db (patch) | |
| tree | 8fc8adbe7925fddfff535837dd49af2e2f5fb925 /website | |
| parent | 12f53416b8591fd9ee9569b40796f355c83f3ce7 (diff) | |
| download | nixos-configuration-master.tar.gz nixos-configuration-master.zip | |
Diffstat (limited to 'website')
| -rw-r--r-- | website/default.nix | 12 | ||||
| -rw-r--r-- | website/src/index.html | 4 | ||||
| -rw-r--r-- | website/src/other-page.html | 4 |
3 files changed, 20 insertions, 0 deletions
diff --git a/website/default.nix b/website/default.nix new file mode 100644 index 0000000..1b78a77 --- /dev/null +++ b/website/default.nix @@ -0,0 +1,12 @@ +{ 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/website/src/index.html b/website/src/index.html new file mode 100644 index 0000000..a28d898 --- /dev/null +++ b/website/src/index.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<h1>Test</h1> +<a href = "./other-page.html">Other page</a> +<p>This websit was built and uploaded and hosted on my server using nix!!!</p> diff --git a/website/src/other-page.html b/website/src/other-page.html new file mode 100644 index 0000000..cbd5c8b --- /dev/null +++ b/website/src/other-page.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<h1>Other page</h1> +<a href = "./index.html">Home</a> +<p>Multipage test</p> |
