Giter Club home page Giter Club logo

lowpro's Introduction

Lowpro

Setting up a new dev environment is boring, and dotfiles only relieve some of that pain; this repo is an attempt to automate the entire process. Only tested against Pop_OS!, YMMV.

Usage

To provision a box-fresh system:

curl -L https://gitlab.com/mookle/lowpro/-/raw/master/run | bash

After the initial run, you can re-provision at any point by invoking the relevant script directly:

$ bin/provision [{--tags | -t} <tag_name>] ... [{--extra_vars | -e} <key=value>] ...

Configuration

Certain aspects of the installation process are configurable. Nothing too fancy, just something that allows for swapping between shells or language toolchains without needing to edit the playbooks/roles themselves. The current format and available options are:

shell: # [fish]
editor: # [neovim]
languages: # [rust: nightly/beta/stable|clojure: |haskell: |java: |scala: |ruby: ] ...
extras:
  linux: # [curl]
  macos: # [curl|watch|rectangle] ...

N.B. This repo does do some configuration of the software it's installing, but anything non-trivial is handled by https://gitlab.com/mookle/dotfiles


What does run do?

The provisioning runner installs system dependancies, clones this repo, then uses Ansible (via bin/provision) to ensure everything is installed correctly. "Everything" is broken up into several playbooks:

  • shell.yml. Installs and configures an interactive shell. Configurable.
  • core.yml. A (mostly) fixed set of roles, needed regardless of configuration/other playbooks. Exposes the editor param to configuration.
  • languages.yml. Installs and configures asdf to help manage toolchain installations. Exposes the complete language set (inc. optional version pinning) to configuration.
  • extras.yml. Additional packages that require only a single installation task. Configurable, with each ansible_system getting its own list. N.B. The actual config key != ansible_system

lowpro's People

Contributors

mookle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.