about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/grfn/gws.fyi/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/users/grfn/gws.fyi/default.nix b/users/grfn/gws.fyi/default.nix
index 1796c0bf74..5b7d8fc0e1 100644
--- a/users/grfn/gws.fyi/default.nix
+++ b/users/grfn/gws.fyi/default.nix
@@ -1,4 +1,4 @@
-args@{ pkgs, ... }:
+args@{ pkgs, depot, ... }:
 with pkgs;
 let
   site = import ./site.nix args;
@@ -12,6 +12,11 @@ let
     minify --type css < ${./main.css} > $out
   '';
 
+  keys = runCommand "ssh-keys" {} ''
+    touch $out
+    echo "${depot.users.grfn.keys.main}" >> $out
+  '';
+
   website =
     runCommand "gws.fyi" { } ''
       mkdir -p $out
@@ -19,6 +24,7 @@ let
       cp ${site.index} $out/index.html
       cp -r ${site.recipes} $out/recipes
       cp ${resume} $out/resume.pdf
+      cp ${keys} $out/keys
     '';
 
 in (writeShellScript "deploy.sh" ''