Update files

This commit is contained in:
2026-08-09 21:44:39 +01:00
parent 5f8ef294f7
commit a8f16bcd6f
3 changed files with 29 additions and 1 deletions
+17
View File
@@ -41,6 +41,23 @@
echo "Dotfiles bootstrapped successfully."
'';
setupNotes = lib.hm.dag.entryAfter ["writeBoundary"] ''
if [[ -v DRY_RUN ]]; then
echo "Dry run: Would initialise Notes from labs.scarif.space"
exit
fi
NOTES_DIR="$HOME/Notes"
if [ ! -d "$NOTES_DIR" ]; then
echo "No local repository so cloning from remote"
SOURCE="https://labs.scarif.space/chris/notes.git"
${pkgs.git}/bin/git clone -b main "$SOURCE" "$NOTES_DIR"
echo "Notes downloaded successfully."
else
echo "Notes directory already exists, skipping clone"
fi
'';
setupDevDirectories = lib.hm.dag.entryAfter ["writeBoundary"] ''
if [[ -v DRY_RUN ]]; then
echo "Dry run: Would create dev directories"