Configure things with Org.
Shell R
Latest commit 17c4276 Feb 10, 2017 @wdenton Merge
Permalink
Failed to load latest commit information.
conforguration_scripts Install RCurl Jan 4, 2017
dotfiles
.gitignore R example mostly working May 5, 2016
COPYING
README.org
conforguration.org

README.org

Conforguration README

Conforguration

Use the power of Org to configure accounts and servers.

How does it work?

Run M-x org-babel-tangle (C-c C-v t) on conforguration.org to generate installation scripts in the conforguration_scripts/ and dotfiles/ directories.

Dotfiles

Raw dotfiles are in dotfiles/. Because they start with a dot (e.g. .bashrc) they are not visible to ls normally, so use ls -a to see them.

Dotfiles are copied to $HOME/dotfiles/ and symlinks are made from your home directory to there.

Installing applications and packages

Sync the scripts to remote servers, then run the scripts on those remote servers. Or run them locally!

The nice things about this is that either locally or remotely, you can use C-c C-c on the shell blocks to execute them, or you can run the scripts at the command line.

How to install Emacs from scratch the Conforguration way

Warning: this will overwrite all sorts of VERY IMPORTANT files, so you don’t do this unless you’re me, or you’re on a new bare system and want to try it out.

cd
sudo apt-get install git
git clone git@github.com:wdenton/.emacs.d.git
mkdir -p src
cd src
git clone git@github.com:wdenton/conforguration.git
cd conforguration/dotfiles
./dotfile-setup.sh
source ~/.bashrc
cd ../scripts
./initialize.sh
./emacs-install-requirements.sh
./emacs-install-from-source.sh

Then run emacs. A few dozen packages will be downloaded and installed and when that’s done your Emacs will look exactly like mine! If you don’t want to go that far, skip the .emacs.d repository download, but make sure your PATH is set up to point to Emacs in the right place under /usr/local/src/.

Why?

Because Ansible and similar configuration management tools aren’t done in Org.

What next?

I don’t know, but if you’re interested, have at it.

There is a lot of duplication. Perhaps there is a nice way to tidy that up.

License

GPL v3. See COPYING for details.