Skip to content

Latest commit

 

History

History
142 lines (125 loc) · 7.51 KB

README.md

File metadata and controls

142 lines (125 loc) · 7.51 KB

Dotfiles

Fully automated development environment. Read the full documentation here.

macos docker

Installation

Install everything with single git clone command:

git clone https://github.com/qubus79/dotfiles.git ~/.dotfiles && bash ~/.dotfiles/setup.sh --all

You can remove existing ~/.dotfiles folder and git clone it from Github again with:

git clone https://github.com/qubus79/dotfiles
/dotfiles/scripts/setup.sh --all
TO NIE DZIAŁA - do zmiany 
curl -fsSL https://github.com/qubus79/dotfiles/scripts/setup.sh | sh -s -- --all

Running Inside Docker

Run docker run -it shmileee/dotfiles to spawn a docker container which is automatically built and pushed with GitHub Actions or build your own:

# docker buildx build --platform linux/amd64 -t dotfiles --progress plain .

Installation Flow

   ┌────────────────────────────────────────────┐
┌──┤curl -fsSL oponomarov.com/d | sh -s -- --all│
│  └────────────────────────────────────────────┘
│
│
│     ┌─────────────────────────────────────┐
├───► │git clone qubus79/dotfiles.git /tmp  │
│     └─────────────────────────────────────┘
│
│
│     ┌──────────────────┐
├───► │./install_brew.sh │
│     └──────────────────┘
│
│
│     ┌─────────────────────────┐     ┌──────────────────────────┐
├───► │./install_dependencies.sh├────►│ apt install <essentials> │
│     └─────────────────────────┘     └──────────────────────────┘
│
│
│     ┌──────────────────────┐
├───► │./add_repositories.sh │
│     └──────────────────────┘
│
│
│     ┌────────────┐
└───► │./ansible.sh│
      └─────┬──────┘
            │
   ┌────────┘
   │
   │  ┌─────────────────────────┐
   ├─►│install community.general│
   │  └─────────────────────────┘
   │
   │  ┌──────────────────────────┐
   │  │ prompt for password if   │
   ├─►│ sudo is not passwordless │
   │  └──────────────────────────┘
   │
   │  ┌───────────────────────────────┐
   └─►│ansible-playbook ... main.yaml │
      └───────────────┬───────────────┘
                      │
     ┌────────────────┘
     │                 ┌────────────────────────┐
     │  ┌──────┐       │ brew install <packages>│
     ├─►│common├──────►│ brew install <casks>   │
     │  └──────┘       │ apt install <packages> │
     │                 └────────────────────────┘
     │  ┌───────┐
     ├─►│ fonts │      ┌─────────────────────┐
     │  └───────┘      │change default shell │
     │              ┌─►│install .ohmyzsh     │
     │  ┌─────┐     │  │install powerlevel10k│
     ├─►│ zsh ├─────┘  │install zsh plugins  │
     │  └─────┘        └─────────────────────┘
     │                 
     │  ┌──────┐       ┌──────────────────────┐
     ├─►│neovim├─────┐ │ either:              │
     │  └──────┘     └►│  - build from source │
     │                 │  - install binary    │
     │  ┌──────┐       └──────────────────────┘
     ├─►│ tmux ├─────┐ 
     │  └──────┘     │ ┌──────────────────────┐
     │               └►│install plugin manager│  
     │  ┌──────────┐   │install plugins       │   
     ├─►│ dotfiles ├─┐ └──────────────────────┘
     │  └──────────┘ │ 
     │               │ ┌─────────────────────────┐
     │               │ │ prepare .dotfiles folder│
                     └►│ `stow`.dotfiles         │
    ...                └─────────────────────────┘
     
     │
     │  ┌─────────────────┐
     └─►│ system_defaults │
        └───────┬─────────┘
                │          ┌───────────────────────────────┐
                ├─────────►│ defaults write <apps settings>│
                │          └───────────────────────────────┘
                │
                │          ┌────────────────────┐
                ├─────────►│reorder apps in dock│
                │          └────────────────────┘
                │
                │          ┌──────────────────────┐
                ├─────────►│set custom keybindings│
                │          └──────────────────────┘
                │
                │          ┌───────────────────────┐
                └─────────►│defaults write <system>│
                           └───────────────────────┘

Credits

This repository is hugely inspired by shmileee dotfiles repository.

Many thanks to the dotfiles community.