Giter Site home page Giter Site logo

dotfiles's Introduction

Dotfiles & New Laptop Setup

Table of Contents

About

This is just my personal guide for keeping track of my configurations and facilitate setting up a new machine.

The TOC in this document is built with the Auto Markdown TOC VS Code extension.

General

Before installing the dotfiles it may be a good idea to install some of the things below.

Essentials

Might be needed later

Usually don't need to be install straight away.

Concentration

Development

Must-have

Nix - Experimental

To install:

<(curl -L https://nixos.org/nix/install)

nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
./result/bin/darwin-installer

Dotfiles

Assuming you checkout this repo in your $HOME directory, you can run the following to symlink all the dotfiles:

cd dotfiles
./install_config.sh

โš ๏ธ The above will prompt you about replacing existing dotfiles in case there's something you'd rather keep. The .git directory (and any other directory) is ignored.

Brew packages

Brew packages, casks and vscode plugins live in Brewfile.

You can install them with

brew bundle --global

Completions

You can install optional completions by running:

./install_completions.sh

GPG

  1. To store GPG passphrases in the keychain, you need to run:
mkdir -p -m 0700 ~/.gnupg
echo "pinentry-program $(which pinentry-mac)" | tee ~/.gnupg/gpg-agent.conf
pkill -TERM gpg-agent

and restart the terminal session.

Next time you're asked for the passphrase, it will be stored in the keychain.

  1. Make sure you import a valid GPG key, see also GPG, Github and Keybase guide.

  2. Ensure the key and author details are actually used, by setting up .gitconfig_personal (not shared here)

[user]
  name = "..."
  email = "..."
  signingkey = "..."

Fonts

Fira Code is a good monospace font for coding that supports ligatures. It can be installed using brew (see above). Further config might be required depending on the editor, see here for VSCode.


1 Requires license/subscription (but might also have a free plan)

dotfiles's People

Contributors

geekfish avatar

Watchers

 avatar  avatar  avatar

dotfiles's Issues

Cask installation is wrong

There is no longer a cask command (superseded by brew install --cask), but also the old casks seem to no longer work.
What's the installation process for those?

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.