literate-config

Literate config. See <a href="../readme.org">readme.org</a> for a better-formatted version
Log | Files | Refs

commit aa990b166b50829ecedf2b8090e46c4b617d8bcc
parent 91115903f95758e253689a42ab03b6fa648e59d8
Author: Crazazy <crazazy@tilde.cafe>
Date:   Tue, 22 Feb 2022 15:58:00 +0100

move all styling to separate org file

Diffstat:
Memacs.org | 5+----
Mnixos.org | 4+---
Mreadme.org | 5+----
Astyle.org | 12++++++++++++
4 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/emacs.org b/emacs.org @@ -1,10 +1,7 @@ #+TITLE:Emacs config #+AUTHOR: Crazazy #+PROPERTY: header-args :tangle yes :noweb yes :results silent -#+HTML_HEAD: <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/latex.css@1.6.0/style.min.css" integrity="sha256-Ncz7wrwMhIHPJupOT4BWvsCDbduC61SmpMasJCmvPB8=" crossorigin="anonymous"> -#+HTML_HEAD:<style>body { max-width : 120ch; }</style> -#+OPTIONS: ^:nil p:t - +#+SETUPFILE: ./style.org Welp, here it goes. This is a literal config for my emacs setup I will prbably copy-paste what I have in my literal config, and provide small, fun explanations along the way For now, prepare this to be not the best documented literal config you've seen. diff --git a/nixos.org b/nixos.org @@ -1,8 +1,6 @@ #+TITLE:Nixos Config #+AUTHOR: Crazazy -#+HTML_HEAD: <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/latex.css@1.6.0/style.min.css" integrity="sha256-Ncz7wrwMhIHPJupOT4BWvsCDbduC61SmpMasJCmvPB8=" crossorigin="anonymous"> -#+HTML_HEAD:<style>body { max-width : 120ch; }</style> -#+OPTIONS: ^:nil p:t +#+SETUPFILE: ./style.org For now this is the way I'm configuring nixos. There is no flakes here, just a configuration.nix and a bunch of other stuff * Prefix diff --git a/readme.org b/readme.org @@ -1,10 +1,7 @@ #+title: Crazazy's literal config #+author: Crazazy #+PROPERTY: header-args :tangle yes :noweb yes :results silent -#+HTML_HEAD: <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/latex.css@1.6.0/style.min.css" integrity="sha256-Ncz7wrwMhIHPJupOT4BWvsCDbduC61SmpMasJCmvPB8=" crossorigin="anonymous"> -#+HTML_HEAD:<style>body { max-width : 120ch; }</style> -#+OPTIONS: ^:nil p:t - +#+SETUPFILE: ./style.org This is my collection of literal config for my global and emacs setup you can =git clone= the org files at [[https://crazazy.tilde.cafe/literal-config.git][this link]] In this document I'm mostly going to set up some prerequisites for tangling other files and setting up dependencies diff --git a/style.org b/style.org @@ -0,0 +1,12 @@ +#+HTML_HEAD: <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/latex.css@1.6.0/style.min.css" integrity="sha256-Ncz7wrwMhIHPJupOT4BWvsCDbduC61SmpMasJCmvPB8=" crossorigin="anonymous"> +#+HTML_HEAD:<style>body { max-width : 120ch; }</style> +#+OPTIONS: ^:nil p:t +#+begin_export html + <nav> + <a href="." >back home</a> + <a href="feeds.xml">List of RSS feeds </a> + <a href="scratch.html">Scratch page</a> + <a href="readme.html">Literary dotfile config</a> + <a href="elpa.html">Custom ELPA repository</a> + </nav> +#+end_export