about summary refs log tree commit diff
path: root/users/wpcarro/website/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro/website/default.nix')
-rw-r--r--users/wpcarro/website/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/users/wpcarro/website/default.nix b/users/wpcarro/website/default.nix
new file mode 100644
index 000000000000..bd4bd7f85228
--- /dev/null
+++ b/users/wpcarro/website/default.nix
@@ -0,0 +1,13 @@
+{ pkgs, briefcase, ... }:
+
+pkgs.stdenv.mkDerivation {
+  name = "wpcarro.dev";
+  src = builtins.path { path = ./.; name = "website"; };
+  installPhase = ''
+    mkdir -p $out
+    cp $src/index.html $out
+
+    mkdir -p $out/habits
+    cp -r ${briefcase.website.habit-screens} $out/habits/index.html
+  '';
+}