My dotfiles in a literate config style https://config.phundrak.com
Go to file
Lucien Cartier-Tilet 92459846c3
docs(emacs): add nix-mode
2024-03-21 06:20:57 +01:00
.gitea/workflows chore(deps): update Vuepress 2024-01-28 05:39:54 +01:00
docs docs(emacs): add nix-mode 2024-03-21 06:20:57 +01:00
.gitattributes feat: try to fix detection of org docs 2024-01-27 19:06:13 +01:00
.gitignore chore(deps): update Vuepress 2024-01-28 05:39:54 +01:00
.prettierrc.json style: reformat ts files 2024-01-28 05:30:15 +01:00
.volarrc [Misc] switching to new repo for org files 2023-09-18 20:12:17 +02:00
.yarnrc.yml chore(deps): update Vuepress 2024-01-28 05:39:54 +01:00
LICENSE.org [Misc] switching to new repo for org files 2023-09-18 20:12:17 +02:00
README.org docs(README): fix link to website 2023-12-17 21:41:17 +01:00
agpl-3.0.md [Misc] switching to new repo for org files 2023-09-18 20:12:17 +02:00
by-nc-sa.md [Misc] switching to new repo for org files 2023-09-18 20:12:17 +02:00
export.el [Misc] switching to new repo for org files 2023-09-18 20:12:17 +02:00
fdl-1.3.md [Misc] switching to new repo for org files 2023-09-18 20:12:17 +02:00
package.json feat: add site-wide search bar 2024-01-28 05:39:54 +01:00
yarn.lock feat: add site-wide search bar 2024-01-28 05:39:54 +01:00

README.org

Pundraks dotfiles

About the Project

This repository holds my Linux dotfiles and other configuration files. The files Im using are written in org-mode and exported in Markdown through Emacs.

These Markdown files are then compiled by Vuepress into a beautiful website available at config.phundrak.com.

Running the project

In order to run the project, you need to export all .org files in the Markdown format. To do that easily, you can use an org project setup in Emacs, mine looks like this:

(require 'ox-gfm)
(defvar phundrak--projects-config-common-root
  "~/org/config/docs/"
  "Points to the common root of my source and target for my
config.phundrak.com org project.")
(setq org-publish-project-alist
        `(("config-phundrak-com-md"
           :base-directory ,phundrak--projects-config-common-root
           :base-extension "org"
           :exclude ,(rx (* print
                            (or "CONTRIB"
                                   "README"
                                   "site-map"
                                   "temp"
                                   "private"
                                   "svg-ink")
                            (* print)))
           :publishing-directory ,phundrak--projects-config-common-root
           :recursive t
           :language "en"
           :publishing-function org-gfm-publish-to-gfm
           :headline-levels 5
           :auto-sitemap nil
           :auto-preamble nil)
          ("config-phundrak-com"
           :components ("config-phundrak-com-md"))))

Once you have all the Markdown files generated correctly, you can install the dependencies of the project.

yarn
# or
npm install # delete the yarn.lock file first

Once this is done, you can launch a preview of the project.

yarn docs:dev
# or
npm run docs:dev

You can also compile the project to a static website.

yarn docs:build
# or
npm run docs:build