mahmoudimus / dotfiles

The best damn dot files repository ever.

Home Page:http://blog.mahmoudimus.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

            .___      __    _____.__.__
          __| _/_____/  |__/ ____\__|  |   ____   ______
         / __ |/  _ \   __\   __\|  |  | _/ __ \ /  ___/
        / /_/ (  <_> )  |  |  |  |  |  |_\  ___/ \___ \
   _____\____ |\____/|__|  |__|  |__|____/\___  >____  >_____
  /_____/    \/                               \/     \/_____/

dotfiles

My attempt at a reproducible workstation environment for my computers, mostly on a OSX.

Install

  1. Install Dropbox
  2. Configure Dropbox. Sync only the folder called: Mackup, which stores the various encrypted secrets. (See TODO).
  3. Run:
git clone --recursive https://github.com/mahmoudimus/dotfiles.git ~/dotfiles
cd ~/dotfiles
git submodule update --init --recursive

NOTE: The ~/dotfiles is hardcoded as the dotfiles repository path in this project. Let me know if this is a problem.

Bootstraping

To bootstrap a workstation, execute setup.sh which will install Ansible on the system, alongside all the below requirements.

If you're on OSX, setup.sh will also install xcode and the xcode command-line utilities.

Requirements

These requirements will be installed by themselves.

Ansible Playbook?

Yes. This is an OS-aware ansible playbook composed of roles that install the applications required for setting up the workstation.

Here's how to run this ansible playbook:

ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook  -i 127.0.0.1, -vvvv -b --become-method=sudo -K --connection=local setup.yml

After you're done, run mackup restore. Done :-)

References

Github

Similar Projects (?)

Blogs

TODO

  • This is only for a workstation, what about dotfiles for sysadmining?
  • Submit to iusethis and howistart?
  • Explore GNU stow?
    • Explore dotgpg with GNU stow instead of Mackup.

Bugs

  • Mackup traverses symlinks, some of which are linked to the Desktop, Downloads, etc and that can potentially cause huge disk space issues

About

The best damn dot files repository ever.

http://blog.mahmoudimus.com/


Languages

Language:Shell 90.4%Language:Ruby 9.6%