48cdb69efb
I think it might be a good idea to version control my habits, so that I can audit them as they change. I'm publishing these on my website, so that I can refer to them wherever I had internet.
16 lines
324 B
Nix
16 lines
324 B
Nix
{ pkgs, briefcase, ... }:
|
|
|
|
pkgs.stdenv.mkDerivation {
|
|
name = "wpcarro.dev";
|
|
src = ./.;
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp $src/index.html $out
|
|
|
|
mkdir -p $out/goals
|
|
cp -r ${briefcase.website.goals}/* $out/goals
|
|
|
|
mkdir -p $out/habits
|
|
cp ${briefcase.website.habits} $out/habits/index.html
|
|
'';
|
|
}
|