This commit is contained in:
Madeleine Sydney
2024-12-11 19:20:40 -07:00
commit 1e5f745767
8 changed files with 557 additions and 0 deletions

11
.dir-locals.el Normal file
View File

@@ -0,0 +1,11 @@
((nil
. ((eval . (defun dots/install-to-vm (clean-first?)
(interactive "P")
(let ((dest "/ssh:root@192.168.122.116:/nixos")
(root (project-root (project-current))))
(progn
(when clean-first?
(delete-directory dest t))
(org-babel-tangle-file (file-name-concat root "README.org"))
(copy-file root dest)
(message "Finished installing to VM!"))))))))