My dotfiles in a literate config style https://config.phundrak.com
Go to file
2024-01-22 21:22:45 +01:00
.gitea/workflows feat: add CI with Gitea actions 2023-12-07 20:15:11 +01:00
docs docs(emacs packages): remove some packages I don’t use anymore 2024-01-22 21:22:45 +01:00
.gitattributes initial commit for new repo 2019-07-21 03:27:31 +02:00
.gitignore [Misc] switching to new repo for org files 2023-09-18 20:12:17 +02:00
.volarrc [Misc] switching to new repo for org files 2023-09-18 20:12:17 +02: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
LICENSE.org [Misc] switching to new repo for org files 2023-09-18 20:12:17 +02:00
package.json chore: fix Vuepress version 2023-11-03 19:59:43 +01:00
README.org docs(README): fix link to website 2023-12-17 21:41:17 +01:00
yarn.lock chore: fix Vuepress version 2023-11-03 19:59:43 +01:00

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